Interface DescribePoliciesResponse.Builder
- All Superinterfaces:
AutoScalingResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribePoliciesResponse.Builder,,DescribePoliciesResponse> SdkBuilder<DescribePoliciesResponse.Builder,,DescribePoliciesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribePoliciesResponse
@Mutable
@NotThreadSafe
public static interface DescribePoliciesResponse.Builder
extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<DescribePoliciesResponse.Builder,DescribePoliciesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA string that indicates that the response contains more items than can be returned in a single response.scalingPolicies(Collection<ScalingPolicy> scalingPolicies) The scaling policies.scalingPolicies(Consumer<ScalingPolicy.Builder>... scalingPolicies) The scaling policies.scalingPolicies(ScalingPolicy... scalingPolicies) The scaling policies.Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
scalingPolicies
The scaling policies.
- Parameters:
scalingPolicies- The scaling policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicies
The scaling policies.
- Parameters:
scalingPolicies- The scaling policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicies
DescribePoliciesResponse.Builder scalingPolicies(Consumer<ScalingPolicy.Builder>... scalingPolicies) 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
A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the
NextTokenvalue when requesting the next set of items. This value is null when there are no more items to return.- Parameters:
nextToken- A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for theNextTokenvalue when requesting the next set of items. This value is null when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-