public class AutoScalingPolicyUpdate
extends java.lang.Object
implements java.io.Serializable
Represents the autoscaling policy to be modified.
Constructor and Description |
---|
AutoScalingPolicyUpdate() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPolicyName()
The name of the scaling policy.
|
AutoScalingTargetTrackingScalingPolicyConfigurationUpdate |
getTargetTrackingScalingPolicyConfiguration()
Represents a target tracking scaling policy configuration.
|
int |
hashCode() |
void |
setPolicyName(java.lang.String policyName)
The name of the scaling policy.
|
void |
setTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationUpdate targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AutoScalingPolicyUpdate |
withPolicyName(java.lang.String policyName)
The name of the scaling policy.
|
AutoScalingPolicyUpdate |
withTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationUpdate 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 AutoScalingPolicyUpdate 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 AutoScalingTargetTrackingScalingPolicyConfigurationUpdate getTargetTrackingScalingPolicyConfiguration()
Represents a target tracking scaling policy configuration.
Represents a target tracking scaling policy configuration.
public void setTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationUpdate targetTrackingScalingPolicyConfiguration)
Represents a target tracking scaling policy configuration.
targetTrackingScalingPolicyConfiguration
- Represents a target tracking scaling policy configuration.
public AutoScalingPolicyUpdate withTargetTrackingScalingPolicyConfiguration(AutoScalingTargetTrackingScalingPolicyConfigurationUpdate 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.