com.amazonaws.services.ec2.model
Class UnmonitorInstancesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.UnmonitorInstancesRequest

public class UnmonitorInstancesRequest
extends AmazonWebServiceRequest

Container for the parameters to the UnmonitorInstances operation.

Disables monitoring for a running instance.

See Also:
AmazonEC2.unmonitorInstances(UnmonitorInstancesRequest)

Constructor Summary
UnmonitorInstancesRequest()
          Default constructor for a new UnmonitorInstancesRequest object.
UnmonitorInstancesRequest(List<String> instanceIds)
          Constructs a new UnmonitorInstancesRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getInstanceIds()
          The list of Amazon EC2 instances on which to disable monitoring.
 int hashCode()
           
 void setInstanceIds(Collection<String> instanceIds)
          The list of Amazon EC2 instances on which to disable monitoring.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 UnmonitorInstancesRequest withInstanceIds(Collection<String> instanceIds)
          The list of Amazon EC2 instances on which to disable monitoring.
 UnmonitorInstancesRequest withInstanceIds(String... instanceIds)
          The list of Amazon EC2 instances on which to disable monitoring.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnmonitorInstancesRequest

public UnmonitorInstancesRequest()
Default constructor for a new UnmonitorInstancesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


UnmonitorInstancesRequest

public UnmonitorInstancesRequest(List<String> instanceIds)
Constructs a new UnmonitorInstancesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
instanceIds - The list of Amazon EC2 instances on which to disable monitoring.
Method Detail

getInstanceIds

public List<String> getInstanceIds()
The list of Amazon EC2 instances on which to disable monitoring.

Returns:
The list of Amazon EC2 instances on which to disable monitoring.

setInstanceIds

public void setInstanceIds(Collection<String> instanceIds)
The list of Amazon EC2 instances on which to disable monitoring.

Parameters:
instanceIds - The list of Amazon EC2 instances on which to disable monitoring.

withInstanceIds

public UnmonitorInstancesRequest withInstanceIds(String... instanceIds)
The list of Amazon EC2 instances on which to disable monitoring.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceIds - The list of Amazon EC2 instances on which to disable monitoring.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstanceIds

public UnmonitorInstancesRequest withInstanceIds(Collection<String> instanceIds)
The list of Amazon EC2 instances on which to disable monitoring.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceIds - The list of Amazon EC2 instances on which to disable monitoring.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.