Interface AutoScalingPolicyDescription.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoScalingPolicyDescription.Builder,AutoScalingPolicyDescription>
,SdkBuilder<AutoScalingPolicyDescription.Builder,AutoScalingPolicyDescription>
,SdkPojo
- Enclosing class:
- AutoScalingPolicyDescription
public static interface AutoScalingPolicyDescription.Builder extends SdkPojo, CopyableBuilder<AutoScalingPolicyDescription.Builder,AutoScalingPolicyDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AutoScalingPolicyDescription.Builder
policyName(String policyName)
The name of the scaling policy.default AutoScalingPolicyDescription.Builder
targetTrackingScalingPolicyConfiguration(Consumer<AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder> targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.AutoScalingPolicyDescription.Builder
targetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.-
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 Detail
-
policyName
AutoScalingPolicyDescription.Builder policyName(String policyName)
The name of the scaling policy.
- Parameters:
policyName
- The name of the scaling policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTrackingScalingPolicyConfiguration
AutoScalingPolicyDescription.Builder targetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
- Parameters:
targetTrackingScalingPolicyConfiguration
- Represents a target tracking scaling policy configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTrackingScalingPolicyConfiguration
default AutoScalingPolicyDescription.Builder targetTrackingScalingPolicyConfiguration(Consumer<AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder> targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
This is a convenience method that creates an instance of theAutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder
avoiding the need to create one manually viaAutoScalingTargetTrackingScalingPolicyConfigurationDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription)
.- Parameters:
targetTrackingScalingPolicyConfiguration
- a consumer that will call methods onAutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
targetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription)
-
-