@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for AttachInstances.
NOOP
Constructor and Description |
---|
AttachInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
AttachInstancesRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the group.
|
List<String> |
getInstanceIds()
One or more instance IDs.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
void |
setInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AttachInstancesRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
AttachInstancesRequest |
withInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
|
AttachInstancesRequest |
withInstanceIds(String... instanceIds)
One or more instance IDs.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getInstanceIds()
One or more instance IDs.
public void setInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
instanceIds
- One or more instance IDs.public AttachInstancesRequest withInstanceIds(String... instanceIds)
One or more instance IDs.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)
or withInstanceIds(java.util.Collection)
if you want to
override the existing values.
instanceIds
- One or more instance IDs.public AttachInstancesRequest withInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
instanceIds
- One or more instance IDs.public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public String getAutoScalingGroupName()
The name of the group.
public AttachInstancesRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public String toString()
toString
in class Object
Object.toString()
public AttachInstancesRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.