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