public class PutScalingPolicyResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the returned data in response to a request action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
Descriptive label associated with this scaling policy.
|
Constructor and Description |
---|
PutScalingPolicyResult() |
Modifier and Type | Method and Description |
---|---|
PutScalingPolicyResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Descriptive label associated with this scaling policy.
|
int |
hashCode() |
void |
setName(java.lang.String name)
Descriptive label associated with this scaling policy.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutScalingPolicyResult |
withName(java.lang.String name)
Descriptive label associated with this scaling policy.
|
private java.lang.String name
Descriptive label associated with this scaling policy. Policy names do not need to be unique.
public void setName(java.lang.String name)
Descriptive label associated with this scaling policy. Policy names do not need to be unique.
name
- Descriptive label associated with this scaling policy. Policy
names do not need to be unique.public java.lang.String getName()
Descriptive label associated with this scaling policy. Policy names do not need to be unique.
public PutScalingPolicyResult withName(java.lang.String name)
Descriptive label associated with this scaling policy. Policy names do not need to be unique.
name
- Descriptive label associated with this scaling policy. Policy
names do not need to be unique.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PutScalingPolicyResult clone()
clone
in class java.lang.Object