|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.autoscaling.model.AdjustmentType
public class AdjustmentType
Specifies whether the PutScalingPolicy ScalingAdjustment
parameter is an absolute number or a percentage of the current capacity.
Constructor Summary | |
---|---|
AdjustmentType()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAdjustmentType()
A policy adjustment type. |
int |
hashCode()
|
void |
setAdjustmentType(String adjustmentType)
A policy adjustment type. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AdjustmentType |
withAdjustmentType(String adjustmentType)
A policy adjustment type. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AdjustmentType()
Method Detail |
---|
public String getAdjustmentType()
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.public void setAdjustmentType(String adjustmentType)
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
adjustmentType
- A policy adjustment type. Valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.public AdjustmentType withAdjustmentType(String adjustmentType)
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
- A policy adjustment type. Valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |