Interface DescribeScalingPoliciesResponse.Builder
- All Superinterfaces:
ApplicationAutoScalingResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeScalingPoliciesResponse.Builder,,DescribeScalingPoliciesResponse> SdkBuilder<DescribeScalingPoliciesResponse.Builder,,DescribeScalingPoliciesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeScalingPoliciesResponse
public static interface DescribeScalingPoliciesResponse.Builder
extends ApplicationAutoScalingResponse.Builder, SdkPojo, CopyableBuilder<DescribeScalingPoliciesResponse.Builder,DescribeScalingPoliciesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token required to get the next set of results.scalingPolicies(Collection<ScalingPolicy> scalingPolicies) Information about the scaling policies.scalingPolicies(Consumer<ScalingPolicy.Builder>... scalingPolicies) Information about the scaling policies.scalingPolicies(ScalingPolicy... scalingPolicies) Information about the scaling policies.Methods inherited from interface software.amazon.awssdk.services.applicationautoscaling.model.ApplicationAutoScalingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
scalingPolicies
Information about the scaling policies.
- Parameters:
scalingPolicies- Information about the scaling policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicies
Information about the scaling policies.
- Parameters:
scalingPolicies- Information about the scaling policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicies
DescribeScalingPoliciesResponse.Builder scalingPolicies(Consumer<ScalingPolicy.Builder>... scalingPolicies) Information about the scaling policies.
This is a convenience method that creates an instance of theScalingPolicy.Builderavoiding the need to create one manually viaScalingPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscalingPolicies(List<ScalingPolicy>).- Parameters:
scalingPolicies- a consumer that will call methods onScalingPolicy.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
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.
-