@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingPolicyUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Represents the auto scaling policy to be modified.
Constructor and Description |
---|
AutoScalingPolicyUpdate() |
Modifier and Type | Method and Description |
---|---|
AutoScalingPolicyUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyName()
The name of the scaling policy.
|
AutoScalingTargetTrackingScalingPolicyConfigurationUpdate |
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(AutoScalingTargetTrackingScalingPolicyConfigurationUpdate targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingPolicyUpdate |
withPolicyName(String policyName)
The name of the scaling policy.
|
AutoScalingPolicyUpdate |
withTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationUpdate 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 AutoScalingPolicyUpdate withPolicyName(String policyName)
The name of the scaling policy.
policyName
- The name of the scaling policy.public void setTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationUpdate targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
targetTrackingScalingPolicyConfiguration
- Represents a target tracking scaling policy configuration.public AutoScalingTargetTrackingScalingPolicyConfigurationUpdate getTargetTrackingScalingPolicyConfiguration()
Represents a target tracking scaling policy configuration.
public AutoScalingPolicyUpdate withTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationUpdate 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 AutoScalingPolicyUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.