|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.InstanceGroupModifyConfig
public class InstanceGroupModifyConfig
Modify an instance group size.
Constructor Summary | |
---|---|
InstanceGroupModifyConfig()
Default constructor for a new InstanceGroupModifyConfig object. |
|
InstanceGroupModifyConfig(java.lang.String instanceGroupId,
java.lang.Integer instanceCount)
Constructs a new InstanceGroupModifyConfig object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getInstanceCount()
Target size for the instance group. |
java.lang.String |
getInstanceGroupId()
Unique ID of the instance group to expand or shrink. |
int |
hashCode()
|
void |
setInstanceCount(java.lang.Integer instanceCount)
Target size for the instance group. |
void |
setInstanceGroupId(java.lang.String instanceGroupId)
Unique ID of the instance group to expand or shrink. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceGroupModifyConfig |
withInstanceCount(java.lang.Integer instanceCount)
Target size for the instance group. |
InstanceGroupModifyConfig |
withInstanceGroupId(java.lang.String instanceGroupId)
Unique ID of the instance group to expand or shrink. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceGroupModifyConfig()
public InstanceGroupModifyConfig(java.lang.String instanceGroupId, java.lang.Integer instanceCount)
instanceGroupId
- Unique ID of the instance group to expand or
shrink.instanceCount
- Target size for the instance group.Method Detail |
---|
public java.lang.String getInstanceGroupId()
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
public void setInstanceGroupId(java.lang.String instanceGroupId)
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
instanceGroupId
- Unique ID of the instance group to expand or shrink.public InstanceGroupModifyConfig withInstanceGroupId(java.lang.String instanceGroupId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
instanceGroupId
- Unique ID of the instance group to expand or shrink.
public java.lang.Integer getInstanceCount()
public void setInstanceCount(java.lang.Integer instanceCount)
instanceCount
- Target size for the instance group.public InstanceGroupModifyConfig withInstanceCount(java.lang.Integer instanceCount)
Returns a reference to this object so that method calls can be chained together.
instanceCount
- Target size for the instance group.
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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |