@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingPolicyDescription extends Object implements Serializable, Cloneable, StructuredPojo
Represents the properties of the scaling policy.
Constructor and Description |
---|
AutoScalingPolicyDescription() |
Modifier and Type | Method and Description |
---|---|
AutoScalingPolicyDescription |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyName()
The name of the scaling policy.
|
AutoScalingTargetTrackingScalingPolicyConfigurationDescription |
getTargetTrackingScalingPolicyConfiguration()
Represents a target tracking scaling policy configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPolicyName(String policyName)
The name of the scaling policy.
|
void |
setTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingPolicyDescription |
withPolicyName(String policyName)
The name of the scaling policy.
|
AutoScalingPolicyDescription |
withTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
|
public void setPolicyName(String policyName)
The name of the scaling policy.
policyName
- The name of the scaling policy.public String getPolicyName()
The name of the scaling policy.
public AutoScalingPolicyDescription withPolicyName(String policyName)
The name of the scaling policy.
policyName
- The name of the scaling policy.public void setTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
targetTrackingScalingPolicyConfiguration
- Represents a target tracking scaling policy configuration.public AutoScalingTargetTrackingScalingPolicyConfigurationDescription getTargetTrackingScalingPolicyConfiguration()
Represents a target tracking scaling policy configuration.
public AutoScalingPolicyDescription withTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationDescription targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
targetTrackingScalingPolicyConfiguration
- Represents a target tracking scaling policy configuration.public String toString()
toString
in class Object
Object.toString()
public AutoScalingPolicyDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.