public static interface AutoScalingPolicyDescription.Builder extends SdkPojo, CopyableBuilder<AutoScalingPolicyDescription.Builder,AutoScalingPolicyDescription>
Modifier and Type | Method and Description |
---|---|
AutoScalingPolicyDescription.Builder |
policyName(String policyName)
The name of the scaling policy.
|
AutoScalingPolicyDescription.Builder |
targetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
|
default AutoScalingPolicyDescription.Builder |
targetTrackingScalingPolicyConfiguration(Consumer<AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder> targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AutoScalingPolicyDescription.Builder policyName(String policyName)
The name of the scaling policy.
policyName
- The name of the scaling policy.AutoScalingPolicyDescription.Builder targetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
targetTrackingScalingPolicyConfiguration
- Represents a target tracking scaling policy configuration.default AutoScalingPolicyDescription.Builder targetTrackingScalingPolicyConfiguration(Consumer<AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder> targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
This is a convenience that creates an instance of theAutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder
avoiding the need to create
one manually via AutoScalingTargetTrackingScalingPolicyConfigurationDescription.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately
and its result is passed to
targetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription)
.targetTrackingScalingPolicyConfiguration
- a consumer that will call methods on
AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder
targetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription)
Copyright © 2020. All rights reserved.