Interface DescribeScalingPlansRequest.Builder
-
- All Superinterfaces:
AutoScalingPlansRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<DescribeScalingPlansRequest.Builder,DescribeScalingPlansRequest>,SdkBuilder<DescribeScalingPlansRequest.Builder,DescribeScalingPlansRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeScalingPlansRequest
public static interface DescribeScalingPlansRequest.Builder extends AutoScalingPlansRequest.Builder, SdkPojo, CopyableBuilder<DescribeScalingPlansRequest.Builder,DescribeScalingPlansRequest>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
scalingPlanNames
DescribeScalingPlansRequest.Builder scalingPlanNames(Collection<String> 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
DescribeScalingPlansRequest.Builder scalingPlanNames(String... 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
DescribeScalingPlansRequest.Builder scalingPlanVersion(Long 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
DescribeScalingPlansRequest.Builder applicationSources(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
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.Builderavoiding the need to create one manually viaApplicationSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#applicationSources(List.) - 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:
#applicationSources(java.util.Collection)
-
maxResults
DescribeScalingPlansRequest.Builder maxResults(Integer 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
DescribeScalingPlansRequest.Builder nextToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeScalingPlansRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-