Interface DescribeScalingPlansRequest.Builder
- All Superinterfaces:
AutoScalingPlansRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeScalingPlansRequest.Builder,
,DescribeScalingPlansRequest> SdkBuilder<DescribeScalingPlansRequest.Builder,
,DescribeScalingPlansRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeScalingPlansRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationSources
(Collection<ApplicationSource> applicationSources) The sources for the applications (up to 10).applicationSources
(Consumer<ApplicationSource.Builder>... applicationSources) The sources for the applications (up to 10).applicationSources
(ApplicationSource... applicationSources) The sources for the applications (up to 10).maxResults
(Integer maxResults) The maximum number of scalable resources to return.The token for the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scalingPlanNames
(String... scalingPlanNames) The names of the scaling plans (up to 10).scalingPlanNames
(Collection<String> scalingPlanNames) The names of the scaling plans (up to 10).scalingPlanVersion
(Long scalingPlanVersion) The version number of the scaling plan.Methods inherited from interface software.amazon.awssdk.services.autoscalingplans.model.AutoScalingPlansRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
-
Method Details
-
scalingPlanNames
The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.
- Parameters:
scalingPlanNames
- The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPlanNames
The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.
- Parameters:
scalingPlanNames
- The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPlanVersion
The version number of the scaling plan. Currently, the only valid value is
1
.If you specify a scaling plan version, you must also specify a scaling plan name.
- Parameters:
scalingPlanVersion
- The version number of the scaling plan. Currently, the only valid value is1
.If you specify a scaling plan version, you must also specify a scaling plan name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationSources
DescribeScalingPlansRequest.Builder applicationSources(Collection<ApplicationSource> applicationSources) The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
- Parameters:
applicationSources
- The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationSources
The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
- Parameters:
applicationSources
- The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationSources
DescribeScalingPlansRequest.Builder applicationSources(Consumer<ApplicationSource.Builder>... applicationSources) The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
This is a convenience method that creates an instance of theApplicationSource.Builder
avoiding the need to create one manually viaApplicationSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationSources(List<ApplicationSource>)
.- Parameters:
applicationSources
- a consumer that will call methods onApplicationSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.
- Parameters:
maxResults
- The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results.
- Parameters:
nextToken
- The token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeScalingPlansRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeScalingPlansRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-