@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) |
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)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.