Interface DescribeScalingPlanResourcesResponse.Builder
- All Superinterfaces:
AutoScalingPlansResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeScalingPlanResourcesResponse.Builder,
,DescribeScalingPlanResourcesResponse> SdkBuilder<DescribeScalingPlanResourcesResponse.Builder,
,DescribeScalingPlanResourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeScalingPlanResourcesResponse
public static interface DescribeScalingPlanResourcesResponse.Builder
extends AutoScalingPlansResponse.Builder, SdkPojo, CopyableBuilder<DescribeScalingPlanResourcesResponse.Builder,DescribeScalingPlanResourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token required to get the next set of results.scalingPlanResources
(Collection<ScalingPlanResource> scalingPlanResources) Information about the scalable resources.scalingPlanResources
(Consumer<ScalingPlanResource.Builder>... scalingPlanResources) Information about the scalable resources.scalingPlanResources
(ScalingPlanResource... scalingPlanResources) Information about the scalable resources.Methods inherited from interface software.amazon.awssdk.services.autoscalingplans.model.AutoScalingPlansResponse.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
-
scalingPlanResources
DescribeScalingPlanResourcesResponse.Builder scalingPlanResources(Collection<ScalingPlanResource> scalingPlanResources) Information about the scalable resources.
- Parameters:
scalingPlanResources
- Information about the scalable resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPlanResources
DescribeScalingPlanResourcesResponse.Builder scalingPlanResources(ScalingPlanResource... scalingPlanResources) Information about the scalable resources.
- Parameters:
scalingPlanResources
- Information about the scalable resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPlanResources
DescribeScalingPlanResourcesResponse.Builder scalingPlanResources(Consumer<ScalingPlanResource.Builder>... scalingPlanResources) Information about the scalable resources.
This is a convenience method that creates an instance of theScalingPlanResource.Builder
avoiding the need to create one manually viaScalingPlanResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscalingPlanResources(List<ScalingPlanResource>)
.- Parameters:
scalingPlanResources
- a consumer that will call methods onScalingPlanResource.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.
-