@Generated(value="software.amazon.awssdk:codegen") public final class ScalingPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScalingPolicy.Builder,ScalingPolicy>
Represents a scaling policy.
Modifier and Type | Class and Description |
---|---|
static interface |
ScalingPolicy.Builder |
Modifier and Type | Method and Description |
---|---|
static ScalingPolicy.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyName()
The name of the scaling policy.
|
PolicyType |
policyType()
The type of scaling policy.
|
String |
policyTypeAsString()
The type of scaling policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ScalingPolicy.Builder> |
serializableBuilderClass() |
TargetTrackingConfiguration |
targetTrackingConfiguration()
The target tracking scaling policy.
|
ScalingPolicy.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String policyName()
The name of the scaling policy.
public PolicyType policyType()
The type of scaling policy.
If the service returns an enum value that is not available in the current SDK version, policyType
will
return PolicyType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
policyTypeAsString()
.
PolicyType
public String policyTypeAsString()
The type of scaling policy.
If the service returns an enum value that is not available in the current SDK version, policyType
will
return PolicyType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
policyTypeAsString()
.
PolicyType
public TargetTrackingConfiguration targetTrackingConfiguration()
The target tracking scaling policy.
public ScalingPolicy.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ScalingPolicy.Builder,ScalingPolicy>
public static ScalingPolicy.Builder builder()
public static Class<? extends ScalingPolicy.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.