public class UnmonitorInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<UnmonitorInstancesRequest>
UnmonitorInstances operation
.
Disables monitoring for a running instance. For more information about monitoring instances, see Monitoring Your Instances and Volumes in the Amazon Elastic Compute Cloud User Guide .
Constructor and Description |
---|
UnmonitorInstancesRequest()
Default constructor for a new UnmonitorInstancesRequest object.
|
UnmonitorInstancesRequest(java.util.List<java.lang.String> instanceIds)
Constructs a new UnmonitorInstancesRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Request<UnmonitorInstancesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.util.List<java.lang.String> |
getInstanceIds()
One or more instance IDs.
|
int |
hashCode() |
void |
setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
One or more instance IDs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UnmonitorInstancesRequest |
withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
One or more instance IDs.
|
UnmonitorInstancesRequest |
withInstanceIds(java.lang.String... instanceIds)
One or more instance IDs.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public UnmonitorInstancesRequest()
public UnmonitorInstancesRequest(java.util.List<java.lang.String> instanceIds)
instanceIds
- One or more instance IDs.public java.util.List<java.lang.String> getInstanceIds()
public void setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
instanceIds
- One or more instance IDs.public UnmonitorInstancesRequest withInstanceIds(java.lang.String... instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds
- One or more instance IDs.public UnmonitorInstancesRequest withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds
- One or more instance IDs.public Request<UnmonitorInstancesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<UnmonitorInstancesRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.