public static interface DescribeScalingPlansRequest.Builder extends AutoScalingPlansRequest.Builder, SdkPojo, CopyableBuilder<DescribeScalingPlansRequest.Builder,DescribeScalingPlansRequest>
build
overrideConfiguration
copy
applyMutation, build
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.
scalingPlanNames
- The names of the scaling plans (up to 10). If you specify application sources, you cannot specify
scaling plan names.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.
scalingPlanNames
- The names of the scaling plans (up to 10). If you specify application sources, you cannot specify
scaling plan names.DescribeScalingPlansRequest.Builder scalingPlanVersion(Long scalingPlanVersion)
The version number of the scaling plan. If you specify a scaling plan version, you must also specify a scaling plan name.
scalingPlanVersion
- The version number of the scaling plan. If you specify a scaling plan version, you must also specify a
scaling plan name.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.
applicationSources
- The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify
application sources.DescribeScalingPlansRequest.Builder applicationSources(ApplicationSource... applicationSources)
The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
applicationSources
- The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify
application sources.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 that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #applicationSources(List)
.applicationSources
- a consumer that will call methods on List.Builder
#applicationSources(List)
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.
maxResults
- The maximum number of scalable resources to return. This value can be between 1 and 50. The default
value is 50.DescribeScalingPlansRequest.Builder nextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.DescribeScalingPlansRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DescribeScalingPlansRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.