|
||||||||||
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(String instanceGroupId,
Integer instanceCount)
Constructs a new InstanceGroupModifyConfig object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<String> |
getEC2InstanceIdsToTerminate()
The EC2 InstanceIds to terminate. |
Integer |
getInstanceCount()
Target size for the instance group. |
String |
getInstanceGroupId()
Unique ID of the instance group to expand or shrink. |
int |
hashCode()
|
void |
setEC2InstanceIdsToTerminate(Collection<String> eC2InstanceIdsToTerminate)
The EC2 InstanceIds to terminate. |
void |
setInstanceCount(Integer instanceCount)
Target size for the instance group. |
void |
setInstanceGroupId(String instanceGroupId)
Unique ID of the instance group to expand or shrink. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceGroupModifyConfig |
withEC2InstanceIdsToTerminate(Collection<String> eC2InstanceIdsToTerminate)
The EC2 InstanceIds to terminate. |
InstanceGroupModifyConfig |
withEC2InstanceIdsToTerminate(String... eC2InstanceIdsToTerminate)
The EC2 InstanceIds to terminate. |
InstanceGroupModifyConfig |
withInstanceCount(Integer instanceCount)
Target size for the instance group. |
InstanceGroupModifyConfig |
withInstanceGroupId(String instanceGroupId)
Unique ID of the instance group to expand or shrink. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceGroupModifyConfig()
public InstanceGroupModifyConfig(String instanceGroupId, Integer instanceCount)
instanceGroupId
- Unique ID of the instance group to expand or
shrink.instanceCount
- Target size for the instance group.Method Detail |
---|
public String getInstanceGroupId()
Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setInstanceGroupId(String instanceGroupId)
Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
instanceGroupId
- Unique ID of the instance group to expand or shrink.public InstanceGroupModifyConfig withInstanceGroupId(String instanceGroupId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
instanceGroupId
- Unique ID of the instance group to expand or shrink.
public Integer getInstanceCount()
public void setInstanceCount(Integer instanceCount)
instanceCount
- Target size for the instance group.public InstanceGroupModifyConfig withInstanceCount(Integer instanceCount)
Returns a reference to this object so that method calls can be chained together.
instanceCount
- Target size for the instance group.
public List<String> getEC2InstanceIdsToTerminate()
public void setEC2InstanceIdsToTerminate(Collection<String> eC2InstanceIdsToTerminate)
eC2InstanceIdsToTerminate
- The EC2 InstanceIds to terminate. For advanced users only. Once you
terminate the instances, the instance group will not return to its
original requested size.public InstanceGroupModifyConfig withEC2InstanceIdsToTerminate(String... eC2InstanceIdsToTerminate)
Returns a reference to this object so that method calls can be chained together.
eC2InstanceIdsToTerminate
- The EC2 InstanceIds to terminate. For advanced users only. Once you
terminate the instances, the instance group will not return to its
original requested size.
public InstanceGroupModifyConfig withEC2InstanceIdsToTerminate(Collection<String> eC2InstanceIdsToTerminate)
Returns a reference to this object so that method calls can be chained together.
eC2InstanceIdsToTerminate
- The EC2 InstanceIds to terminate. For advanced users only. Once you
terminate the instances, the instance group will not return to its
original requested size.
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 |