public static interface ScalingPolicy.Builder extends SdkPojo, CopyableBuilder<ScalingPolicy.Builder,ScalingPolicy>
Modifier and Type | Method and Description |
---|---|
ScalingPolicy.Builder |
policyName(String policyName)
The name of the scaling policy.
|
ScalingPolicy.Builder |
policyType(PolicyType policyType)
The type of scaling policy.
|
ScalingPolicy.Builder |
policyType(String policyType)
The type of scaling policy.
|
default ScalingPolicy.Builder |
targetTrackingConfiguration(Consumer<TargetTrackingConfiguration.Builder> targetTrackingConfiguration)
The target tracking scaling policy.
|
ScalingPolicy.Builder |
targetTrackingConfiguration(TargetTrackingConfiguration targetTrackingConfiguration)
The target tracking scaling policy.
|
copy
applyMutation, build
ScalingPolicy.Builder policyName(String policyName)
The name of the scaling policy.
policyName
- The name of the scaling policy.ScalingPolicy.Builder policyType(String policyType)
The type of scaling policy.
policyType
- The type of scaling policy.PolicyType
,
PolicyType
ScalingPolicy.Builder policyType(PolicyType policyType)
The type of scaling policy.
policyType
- The type of scaling policy.PolicyType
,
PolicyType
ScalingPolicy.Builder targetTrackingConfiguration(TargetTrackingConfiguration targetTrackingConfiguration)
The target tracking scaling policy.
targetTrackingConfiguration
- The target tracking scaling policy.default ScalingPolicy.Builder targetTrackingConfiguration(Consumer<TargetTrackingConfiguration.Builder> targetTrackingConfiguration)
The target tracking scaling policy.
This is a convenience that creates an instance of theTargetTrackingConfiguration.Builder
avoiding
the need to create one manually via TargetTrackingConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to targetTrackingConfiguration(TargetTrackingConfiguration)
.targetTrackingConfiguration
- a consumer that will call methods on TargetTrackingConfiguration.Builder
targetTrackingConfiguration(TargetTrackingConfiguration)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.