Interface CreateScalingPlanRequest.Builder
-
- All Superinterfaces:
AutoScalingPlansRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateScalingPlanRequest.Builder,CreateScalingPlanRequest>,SdkBuilder<CreateScalingPlanRequest.Builder,CreateScalingPlanRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateScalingPlanRequest
public static interface CreateScalingPlanRequest.Builder extends AutoScalingPlansRequest.Builder, SdkPojo, CopyableBuilder<CreateScalingPlanRequest.Builder,CreateScalingPlanRequest>
-
-
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
CreateScalingPlanRequest.Builder scalingPlanName(String scalingPlanName)
The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
- Parameters:
scalingPlanName- The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationSource
CreateScalingPlanRequest.Builder applicationSource(ApplicationSource applicationSource)
A CloudFormation stack or set of tags. You can create one scaling plan per application source.
For more information, see ApplicationSource in the AWS Auto Scaling API Reference.
- Parameters:
applicationSource- A CloudFormation stack or set of tags. You can create one scaling plan per application source.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 CreateScalingPlanRequest.Builder applicationSource(Consumer<ApplicationSource.Builder> applicationSource)
A CloudFormation stack or set of tags. You can create one scaling plan per application source.
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
CreateScalingPlanRequest.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
CreateScalingPlanRequest.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
CreateScalingPlanRequest.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
CreateScalingPlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateScalingPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-