Interface UpdateScalingPlanRequest.Builder
- All Superinterfaces:
AutoScalingPlansRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateScalingPlanRequest.Builder,
,UpdateScalingPlanRequest> SdkBuilder<UpdateScalingPlanRequest.Builder,
,UpdateScalingPlanRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateScalingPlanRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateScalingPlanRequest.Builder
applicationSource
(Consumer<ApplicationSource.Builder> applicationSource) A CloudFormation stack or set of tags.applicationSource
(ApplicationSource applicationSource) A CloudFormation stack or set of tags.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scalingInstructions
(Collection<ScalingInstruction> scalingInstructions) The scaling instructions.scalingInstructions
(Consumer<ScalingInstruction.Builder>... scalingInstructions) The scaling instructions.scalingInstructions
(ScalingInstruction... scalingInstructions) The scaling instructions.scalingPlanName
(String scalingPlanName) The name of the scaling plan.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
-
scalingPlanName
The name of the scaling plan.
- Parameters:
scalingPlanName
- The name of the scaling plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPlanVersion
The version number of the scaling plan. The only valid value is
1
. Currently, you cannot have multiple scaling plan versions.- Parameters:
scalingPlanVersion
- The version number of the scaling plan. The only valid value is1
. Currently, you cannot have multiple scaling plan versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationSource
A CloudFormation stack or set of tags.
For more information, see ApplicationSource in the AWS Auto Scaling API Reference.
- Parameters:
applicationSource
- A CloudFormation stack or set of tags.For more information, see ApplicationSource in the AWS Auto Scaling API Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationSource
default UpdateScalingPlanRequest.Builder applicationSource(Consumer<ApplicationSource.Builder> applicationSource) A CloudFormation stack or set of tags.
For more information, see ApplicationSource in the AWS Auto Scaling API Reference.
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 toapplicationSource(ApplicationSource)
.- Parameters:
applicationSource
- 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:
-
scalingInstructions
UpdateScalingPlanRequest.Builder scalingInstructions(Collection<ScalingInstruction> scalingInstructions) The scaling instructions.
For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
- Parameters:
scalingInstructions
- The scaling instructions.For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingInstructions
The scaling instructions.
For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
- Parameters:
scalingInstructions
- The scaling instructions.For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingInstructions
UpdateScalingPlanRequest.Builder scalingInstructions(Consumer<ScalingInstruction.Builder>... scalingInstructions) The scaling instructions.
For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
This is a convenience method that creates an instance of theScalingInstruction.Builder
avoiding the need to create one manually viaScalingInstruction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscalingInstructions(List<ScalingInstruction>)
.- Parameters:
scalingInstructions
- a consumer that will call methods onScalingInstruction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateScalingPlanRequest.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
UpdateScalingPlanRequest.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.
-