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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeScalingPlansResponse.BuildernextToken(String nextToken)The token required to get the next set of results.DescribeScalingPlansResponse.BuilderscalingPlans(Collection<ScalingPlan> scalingPlans)Information about the scaling plans.DescribeScalingPlansResponse.BuilderscalingPlans(Consumer<ScalingPlan.Builder>... scalingPlans)Information about the scaling plans.DescribeScalingPlansResponse.BuilderscalingPlans(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
scalingPlans
DescribeScalingPlansResponse.Builder scalingPlans(Collection<ScalingPlan> 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
DescribeScalingPlansResponse.Builder scalingPlans(ScalingPlan... 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
DescribeScalingPlansResponse.Builder scalingPlans(Consumer<ScalingPlan.Builder>... scalingPlans)
Information about the scaling plans.
This is a convenience method that creates an instance of theScalingPlan.Builderavoiding the need to create one manually viaScalingPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#scalingPlans(List.) - 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:
#scalingPlans(java.util.Collection)
-
nextToken
DescribeScalingPlansResponse.Builder nextToken(String nextToken)
The token required to get the next set of results. This value is
nullif there are no more results to return.- Parameters:
nextToken- The token required to get the next set of results. This value isnullif there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-