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