public class AutoScalingPolicyDescription
extends java.lang.Object
implements java.io.Serializable
Represents the properties of the scaling policy.
Constructor and Description |
---|
AutoScalingPolicyDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPolicyName()
The name of the scaling policy.
|
AutoScalingTargetTrackingScalingPolicyConfigurationDescription |
getTargetTrackingScalingPolicyConfiguration()
Represents a target tracking scaling policy configuration.
|
int |
hashCode() |
void |
setPolicyName(java.lang.String policyName)
The name of the scaling policy.
|
void |
setTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AutoScalingPolicyDescription |
withPolicyName(java.lang.String policyName)
The name of the scaling policy.
|
AutoScalingPolicyDescription |
withTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
|
public java.lang.String getPolicyName()
The name of the scaling policy.
Constraints:
Length: 1 - 256
Pattern: \p{Print}+
The name of the scaling policy.
public void setPolicyName(java.lang.String policyName)
The name of the scaling policy.
Constraints:
Length: 1 - 256
Pattern: \p{Print}+
policyName
- The name of the scaling policy.
public AutoScalingPolicyDescription withPolicyName(java.lang.String policyName)
The name of the scaling policy.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: \p{Print}+
policyName
- The name of the scaling policy.
public AutoScalingTargetTrackingScalingPolicyConfigurationDescription getTargetTrackingScalingPolicyConfiguration()
Represents a target tracking scaling policy configuration.
Represents a target tracking scaling policy configuration.
public void setTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
targetTrackingScalingPolicyConfiguration
- Represents a target tracking scaling policy configuration.
public AutoScalingPolicyDescription withTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
Returns a reference to this object so that method calls can be chained together.
targetTrackingScalingPolicyConfiguration
- Represents a target tracking scaling policy configuration.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.