@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnmonitorInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<UnmonitorInstancesRequest>
Contains the parameters for UnmonitorInstances.
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()
One or more instance IDs.
|
int |
hashCode() |
void |
setInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UnmonitorInstancesRequest |
withInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
|
UnmonitorInstancesRequest |
withInstanceIds(String... instanceIds)
One or more instance IDs.
|
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, withSdkRequestTimeout
public UnmonitorInstancesRequest()
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 UnmonitorInstancesRequest 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 UnmonitorInstancesRequest withInstanceIds(Collection<String> instanceIds)
One or more instance IDs.
instanceIds
- One or more instance IDs.public Request<UnmonitorInstancesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<UnmonitorInstancesRequest>
public String toString()
toString
in class Object
Object.toString()
public UnmonitorInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.