@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyInstanceGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Change the size of some instance groups.
NOOP| Constructor and Description |
|---|
ModifyInstanceGroupsRequest()
Default constructor for ModifyInstanceGroupsRequest object.
|
ModifyInstanceGroupsRequest(List<InstanceGroupModifyConfig> instanceGroups)
Constructs a new ModifyInstanceGroupsRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
ModifyInstanceGroupsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClusterId()
The ID of the cluster to which the instance group belongs.
|
List<InstanceGroupModifyConfig> |
getInstanceGroups()
Instance groups to change.
|
int |
hashCode() |
void |
setClusterId(String clusterId)
The ID of the cluster to which the instance group belongs.
|
void |
setInstanceGroups(Collection<InstanceGroupModifyConfig> instanceGroups)
Instance groups to change.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyInstanceGroupsRequest |
withClusterId(String clusterId)
The ID of the cluster to which the instance group belongs.
|
ModifyInstanceGroupsRequest |
withInstanceGroups(Collection<InstanceGroupModifyConfig> instanceGroups)
Instance groups to change.
|
ModifyInstanceGroupsRequest |
withInstanceGroups(InstanceGroupModifyConfig... instanceGroups)
Instance groups to change.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic ModifyInstanceGroupsRequest()
public ModifyInstanceGroupsRequest(List<InstanceGroupModifyConfig> instanceGroups)
instanceGroups - Instance groups to change.public void setClusterId(String clusterId)
The ID of the cluster to which the instance group belongs.
clusterId - The ID of the cluster to which the instance group belongs.public String getClusterId()
The ID of the cluster to which the instance group belongs.
public ModifyInstanceGroupsRequest withClusterId(String clusterId)
The ID of the cluster to which the instance group belongs.
clusterId - The ID of the cluster to which the instance group belongs.public List<InstanceGroupModifyConfig> getInstanceGroups()
Instance groups to change.
public void setInstanceGroups(Collection<InstanceGroupModifyConfig> instanceGroups)
Instance groups to change.
instanceGroups - Instance groups to change.public ModifyInstanceGroupsRequest withInstanceGroups(InstanceGroupModifyConfig... instanceGroups)
Instance groups to change.
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.
instanceGroups - Instance groups to change.public ModifyInstanceGroupsRequest withInstanceGroups(Collection<InstanceGroupModifyConfig> instanceGroups)
Instance groups to change.
instanceGroups - Instance groups to change.public String toString()
toString in class ObjectObject.toString()public ModifyInstanceGroupsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.