Interface DescribeScalingPoliciesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeScalingPoliciesResponse.Builder,DescribeScalingPoliciesResponse>,GameLiftResponse.Builder,SdkBuilder<DescribeScalingPoliciesResponse.Builder,DescribeScalingPoliciesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeScalingPoliciesResponse
public static interface DescribeScalingPoliciesResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeScalingPoliciesResponse.Builder,DescribeScalingPoliciesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeScalingPoliciesResponse.BuildernextToken(String nextToken)A token that indicates where to resume retrieving results on the next call to this operation.DescribeScalingPoliciesResponse.BuilderscalingPolicies(Collection<ScalingPolicy> scalingPolicies)A collection of objects containing the scaling policies matching the request.DescribeScalingPoliciesResponse.BuilderscalingPolicies(Consumer<ScalingPolicy.Builder>... scalingPolicies)A collection of objects containing the scaling policies matching the request.DescribeScalingPoliciesResponse.BuilderscalingPolicies(ScalingPolicy... scalingPolicies)A collection of objects containing the scaling policies matching the request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadata
-
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 Detail
-
scalingPolicies
DescribeScalingPoliciesResponse.Builder scalingPolicies(Collection<ScalingPolicy> scalingPolicies)
A collection of objects containing the scaling policies matching the request.
- Parameters:
scalingPolicies- A collection of objects containing the scaling policies matching the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicies
DescribeScalingPoliciesResponse.Builder scalingPolicies(ScalingPolicy... scalingPolicies)
A collection of objects containing the scaling policies matching the request.
- Parameters:
scalingPolicies- A collection of objects containing the scaling policies matching the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicies
DescribeScalingPoliciesResponse.Builder scalingPolicies(Consumer<ScalingPolicy.Builder>... scalingPolicies)
A collection of objects containing the scaling policies matching the request.
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 to#scalingPolicies(List.) - 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:
#scalingPolicies(java.util.Collection)
-
nextToken
DescribeScalingPoliciesResponse.Builder nextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
- Parameters:
nextToken- A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-