Interface UpdateScalingPlanRequest.Builder
-
- All Superinterfaces:
AutoScalingPlansRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateScalingPlanRequest.Builder,UpdateScalingPlanRequest>,SdkBuilder<UpdateScalingPlanRequest.Builder,UpdateScalingPlanRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateScalingPlanRequest
public static interface UpdateScalingPlanRequest.Builder extends AutoScalingPlansRequest.Builder, SdkPojo, CopyableBuilder<UpdateScalingPlanRequest.Builder,UpdateScalingPlanRequest>
-
-
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
-
scalingPlanName
UpdateScalingPlanRequest.Builder scalingPlanName(String 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
UpdateScalingPlanRequest.Builder scalingPlanVersion(Long 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
UpdateScalingPlanRequest.Builder applicationSource(ApplicationSource 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.Builderavoiding the need to create one manually viaApplicationSource.builder().When the
Consumercompletes,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:
applicationSource(ApplicationSource)
-
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
UpdateScalingPlanRequest.Builder scalingInstructions(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
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.Builderavoiding the need to create one manually viaScalingInstruction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#scalingInstructions(List.) - 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:
#scalingInstructions(java.util.Collection)
-
overrideConfiguration
UpdateScalingPlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateScalingPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-