public class ModifyInstanceGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ModifyInstanceGroups operation
.
ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically.
NOOP
Constructor and Description |
---|
ModifyInstanceGroupsRequest()
Default constructor for a new ModifyInstanceGroupsRequest object.
|
ModifyInstanceGroupsRequest(List<InstanceGroupModifyConfig> instanceGroups)
Constructs a new ModifyInstanceGroupsRequest object.
|
Modifier and Type | Method and Description |
---|---|
ModifyInstanceGroupsRequest |
clone() |
boolean |
equals(Object obj) |
List<InstanceGroupModifyConfig> |
getInstanceGroups()
Instance groups to change.
|
int |
hashCode() |
void |
setInstanceGroups(Collection<InstanceGroupModifyConfig> instanceGroups)
Instance groups to change.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyInstanceGroupsRequest |
withInstanceGroups(Collection<InstanceGroupModifyConfig> instanceGroups)
Instance groups to change.
|
ModifyInstanceGroupsRequest |
withInstanceGroups(InstanceGroupModifyConfig... instanceGroups)
Instance groups to change.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public ModifyInstanceGroupsRequest()
public ModifyInstanceGroupsRequest(List<InstanceGroupModifyConfig> instanceGroups)
instanceGroups
- Instance groups to change.public List<InstanceGroupModifyConfig> getInstanceGroups()
public void setInstanceGroups(Collection<InstanceGroupModifyConfig> instanceGroups)
instanceGroups
- Instance groups to change.public ModifyInstanceGroupsRequest withInstanceGroups(InstanceGroupModifyConfig... instanceGroups)
NOTE: This method appends the values to the existing list (if
any). Use setInstanceGroups(java.util.Collection)
or withInstanceGroups(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
instanceGroups
- Instance groups to change.public ModifyInstanceGroupsRequest withInstanceGroups(Collection<InstanceGroupModifyConfig> instanceGroups)
Returns a reference to this object so that method calls can be chained together.
instanceGroups
- Instance groups to change.public String toString()
toString
in class Object
Object.toString()
public ModifyInstanceGroupsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.