Interface DescribeScalingPlansResponse.Builder
- All Superinterfaces:
AutoScalingPlansResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeScalingPlansResponse.Builder,
,DescribeScalingPlansResponse> SdkBuilder<DescribeScalingPlansResponse.Builder,
,DescribeScalingPlansResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeScalingPlansResponse
public static interface DescribeScalingPlansResponse.Builder
extends AutoScalingPlansResponse.Builder, SdkPojo, CopyableBuilder<DescribeScalingPlansResponse.Builder,DescribeScalingPlansResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token required to get the next set of results.scalingPlans
(Collection<ScalingPlan> scalingPlans) Information about the scaling plans.scalingPlans
(Consumer<ScalingPlan.Builder>... scalingPlans) Information about the scaling plans.scalingPlans
(ScalingPlan... scalingPlans) Information about the scaling plans.Methods inherited from interface software.amazon.awssdk.services.autoscalingplans.model.AutoScalingPlansResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
scalingPlans
Information about the scaling plans.
- Parameters:
scalingPlans
- Information about the scaling plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPlans
Information about the scaling plans.
- Parameters:
scalingPlans
- Information about the scaling plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPlans
Information about the scaling plans.
This is a convenience method that creates an instance of theScalingPlan.Builder
avoiding the need to create one manually viaScalingPlan.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscalingPlans(List<ScalingPlan>)
.- Parameters:
scalingPlans
- a consumer that will call methods onScalingPlan.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token required to get the next set of results. This value is
null
if there are no more results to return.- Parameters:
nextToken
- The token required to get the next set of results. This value isnull
if there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-