@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnmonitorInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<UnmonitorInstancesRequest>
NOOP| Constructor and Description |
|---|
UnmonitorInstancesRequest()
Default constructor for UnmonitorInstancesRequest object.
|
UnmonitorInstancesRequest(List<String> instanceIds)
Constructs a new UnmonitorInstancesRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
UnmonitorInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<UnmonitorInstancesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getInstanceIds()
The IDs of the instances.
|
int |
hashCode() |
void |
setInstanceIds(Collection<String> instanceIds)
The IDs of the instances.
|
String |
toString()
Returns a string representation of this object.
|
UnmonitorInstancesRequest |
withInstanceIds(Collection<String> instanceIds)
The IDs of the instances.
|
UnmonitorInstancesRequest |
withInstanceIds(String... instanceIds)
The IDs of the instances.
|
addHandlerContext, 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 UnmonitorInstancesRequest()
public List<String> getInstanceIds()
The IDs of the instances.
public void setInstanceIds(Collection<String> instanceIds)
The IDs of the instances.
instanceIds - The IDs of the instances.public UnmonitorInstancesRequest withInstanceIds(String... instanceIds)
The IDs of the instances.
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 - The IDs of the instances.public UnmonitorInstancesRequest withInstanceIds(Collection<String> instanceIds)
The IDs of the instances.
instanceIds - The IDs of the instances.public Request<UnmonitorInstancesRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<UnmonitorInstancesRequest>public String toString()
toString in class ObjectObject.toString()public UnmonitorInstancesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()