public class AdjustmentType
extends java.lang.Object
implements java.io.Serializable
Describes a policy adjustment type.
For more information, see Dynamic Scaling in the Auto Scaling Developer Guide.
Constructor and Description |
---|
AdjustmentType() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAdjustmentType()
The policy adjustment type.
|
int |
hashCode() |
void |
setAdjustmentType(java.lang.String adjustmentType)
The policy adjustment type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdjustmentType |
withAdjustmentType(java.lang.String adjustmentType)
The policy adjustment type.
|
public java.lang.String getAdjustmentType()
The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
public void setAdjustmentType(java.lang.String adjustmentType)
The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
adjustmentType
-
The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
public AdjustmentType withAdjustmentType(java.lang.String adjustmentType)
The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
adjustmentType
-
The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
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 © 2010 Amazon Web Services, Inc. All Rights Reserved.