Interface DescribeScalableTargetsResponse.Builder
- All Superinterfaces:
ApplicationAutoScalingResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeScalableTargetsResponse.Builder,
,DescribeScalableTargetsResponse> SdkBuilder<DescribeScalableTargetsResponse.Builder,
,DescribeScalableTargetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeScalableTargetsResponse
public static interface DescribeScalableTargetsResponse.Builder
extends ApplicationAutoScalingResponse.Builder, SdkPojo, CopyableBuilder<DescribeScalableTargetsResponse.Builder,DescribeScalableTargetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token required to get the next set of results.scalableTargets
(Collection<ScalableTarget> scalableTargets) The scalable targets that match the request parameters.scalableTargets
(Consumer<ScalableTarget.Builder>... scalableTargets) The scalable targets that match the request parameters.scalableTargets
(ScalableTarget... scalableTargets) The scalable targets that match the request parameters.Methods inherited from interface software.amazon.awssdk.services.applicationautoscaling.model.ApplicationAutoScalingResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
scalableTargets
The scalable targets that match the request parameters.
- Parameters:
scalableTargets
- The scalable targets that match the request parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalableTargets
The scalable targets that match the request parameters.
- Parameters:
scalableTargets
- The scalable targets that match the request parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalableTargets
DescribeScalableTargetsResponse.Builder scalableTargets(Consumer<ScalableTarget.Builder>... scalableTargets) The scalable targets that match the request parameters.
This is a convenience method that creates an instance of theScalableTarget.Builder
avoiding the need to create one manually viaScalableTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscalableTargets(List<ScalableTarget>)
.- Parameters:
scalableTargets
- a consumer that will call methods onScalableTarget.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
null
if there are no more results to return.- Parameters:
nextToken
- The token required to get the next set of results. This value isnull
if there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-