public static interface DescribePoliciesResponse.Builder extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<DescribePoliciesResponse.Builder,DescribePoliciesResponse>
Modifier and Type | Method and Description |
---|---|
DescribePoliciesResponse.Builder |
nextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response.
|
DescribePoliciesResponse.Builder |
scalingPolicies(Collection<ScalingPolicy> scalingPolicies)
The scaling policies.
|
DescribePoliciesResponse.Builder |
scalingPolicies(Consumer<ScalingPolicy.Builder>... scalingPolicies)
The scaling policies.
|
DescribePoliciesResponse.Builder |
scalingPolicies(ScalingPolicy... scalingPolicies)
The scaling policies.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribePoliciesResponse.Builder scalingPolicies(Collection<ScalingPolicy> scalingPolicies)
The scaling policies.
scalingPolicies
- The scaling policies.DescribePoliciesResponse.Builder scalingPolicies(ScalingPolicy... scalingPolicies)
The scaling policies.
scalingPolicies
- The scaling policies.DescribePoliciesResponse.Builder scalingPolicies(Consumer<ScalingPolicy.Builder>... scalingPolicies)
The scaling policies.
This is a convenience method that creates an instance of theScalingPolicy.Builder
avoiding the need to create
one manually via ScalingPolicy.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately
and its result is passed to #scalingPolicies(List
.
scalingPolicies
- a consumer that will call methods on
ScalingPolicy.Builder
#scalingPolicies(java.util.Collection)
DescribePoliciesResponse.Builder nextToken(String 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 NextToken
value when requesting the next
set of items. This value is null when there are no more items to return.
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 NextToken
value when
requesting the next set of items. This value is null when there are no more items to return.Copyright © 2023. All rights reserved.