public class InstanceGroupModifyConfig extends Object implements Serializable
Modify an instance group size.
Constructor and Description |
---|
InstanceGroupModifyConfig()
Default constructor for a new InstanceGroupModifyConfig object.
|
InstanceGroupModifyConfig(String instanceGroupId,
Integer instanceCount)
Constructs a new InstanceGroupModifyConfig object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getInstanceCount()
Target size for the instance group.
|
String |
getInstanceGroupId()
Unique ID of the instance group to expand or shrink.
|
int |
hashCode() |
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 |
withInstanceCount(Integer instanceCount)
Target size for the instance group.
|
InstanceGroupModifyConfig |
withInstanceGroupId(String instanceGroupId)
Unique ID of the instance group to expand or shrink.
|
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.public String getInstanceGroupId()
Constraints:
Length: 0 - 256
Pattern: [ --�𐀀-\r\n\t]*
public void setInstanceGroupId(String instanceGroupId)
Constraints:
Length: 0 - 256
Pattern: [ --�𐀀-\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: [ --�𐀀-\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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.