com.amazonaws.services.ec2.model
Class ReportInstanceStatusRequest

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

public class ReportInstanceStatusRequest
extends AmazonWebServiceRequest

Container for the parameters to the ReportInstanceStatus operation.

See Also:
AmazonEC2.reportInstanceStatus(ReportInstanceStatusRequest)

Constructor Summary
ReportInstanceStatusRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          Returns the value of the Description property for this object.
 Date getEndTime()
          Returns the value of the EndTime property for this object.
 List<String> getInstances()
          Returns the value of the Instances property for this object.
 List<String> getReasonCodes()
          Returns the value of the ReasonCodes property for this object.
 Date getStartTime()
          Returns the value of the StartTime property for this object.
 String getStatus()
          Returns the value of the Status property for this object.
 int hashCode()
           
 void setDescription(String description)
          Sets the value of the Description property for this object.
 void setEndTime(Date endTime)
          Sets the value of the EndTime property for this object.
 void setInstances(Collection<String> instances)
          Sets the value of the Instances property for this object.
 void setReasonCodes(Collection<String> reasonCodes)
          Sets the value of the ReasonCodes property for this object.
 void setStartTime(Date startTime)
          Sets the value of the StartTime property for this object.
 void setStatus(String status)
          Sets the value of the Status property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ReportInstanceStatusRequest withDescription(String description)
          Sets the value of the Description property for this object.
 ReportInstanceStatusRequest withEndTime(Date endTime)
          Sets the value of the EndTime property for this object.
 ReportInstanceStatusRequest withInstances(Collection<String> instances)
          Sets the value of the Instances property for this object.
 ReportInstanceStatusRequest withInstances(String... instances)
          Sets the value of the Instances property for this object.
 ReportInstanceStatusRequest withReasonCodes(Collection<String> reasonCodes)
          Sets the value of the ReasonCodes property for this object.
 ReportInstanceStatusRequest withReasonCodes(String... reasonCodes)
          Sets the value of the ReasonCodes property for this object.
 ReportInstanceStatusRequest withStartTime(Date startTime)
          Sets the value of the StartTime property for this object.
 ReportInstanceStatusRequest withStatus(String status)
          Sets the value of the Status property for this object.
 
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

ReportInstanceStatusRequest

public ReportInstanceStatusRequest()
Method Detail

getInstances

public List<String> getInstances()
Returns the value of the Instances property for this object.

Returns:
The value of the Instances property for this object.

setInstances

public void setInstances(Collection<String> instances)
Sets the value of the Instances property for this object.

Parameters:
instances - The new value for the Instances property for this object.

withInstances

public ReportInstanceStatusRequest withInstances(String... instances)
Sets the value of the Instances property for this object.

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

Parameters:
instances - The new value for the Instances property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstances

public ReportInstanceStatusRequest withInstances(Collection<String> instances)
Sets the value of the Instances property for this object.

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

Parameters:
instances - The new value for the Instances property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public String getStatus()
Returns the value of the Status property for this object.

Returns:
The value of the Status property for this object.

setStatus

public void setStatus(String status)
Sets the value of the Status property for this object.

Parameters:
status - The new value for the Status property for this object.

withStatus

public ReportInstanceStatusRequest withStatus(String status)
Sets the value of the Status property for this object.

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

Parameters:
status - The new value for the Status property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getStartTime

public Date getStartTime()
Returns the value of the StartTime property for this object.

Returns:
The value of the StartTime property for this object.

setStartTime

public void setStartTime(Date startTime)
Sets the value of the StartTime property for this object.

Parameters:
startTime - The new value for the StartTime property for this object.

withStartTime

public ReportInstanceStatusRequest withStartTime(Date startTime)
Sets the value of the StartTime property for this object.

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

Parameters:
startTime - The new value for the StartTime property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getEndTime

public Date getEndTime()
Returns the value of the EndTime property for this object.

Returns:
The value of the EndTime property for this object.

setEndTime

public void setEndTime(Date endTime)
Sets the value of the EndTime property for this object.

Parameters:
endTime - The new value for the EndTime property for this object.

withEndTime

public ReportInstanceStatusRequest withEndTime(Date endTime)
Sets the value of the EndTime property for this object.

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

Parameters:
endTime - The new value for the EndTime property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getReasonCodes

public List<String> getReasonCodes()
Returns the value of the ReasonCodes property for this object.

Returns:
The value of the ReasonCodes property for this object.

setReasonCodes

public void setReasonCodes(Collection<String> reasonCodes)
Sets the value of the ReasonCodes property for this object.

Parameters:
reasonCodes - The new value for the ReasonCodes property for this object.

withReasonCodes

public ReportInstanceStatusRequest withReasonCodes(String... reasonCodes)
Sets the value of the ReasonCodes property for this object.

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

Parameters:
reasonCodes - The new value for the ReasonCodes property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withReasonCodes

public ReportInstanceStatusRequest withReasonCodes(Collection<String> reasonCodes)
Sets the value of the ReasonCodes property for this object.

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

Parameters:
reasonCodes - The new value for the ReasonCodes property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
Returns the value of the Description property for this object.

Returns:
The value of the Description property for this object.

setDescription

public void setDescription(String description)
Sets the value of the Description property for this object.

Parameters:
description - The new value for the Description property for this object.

withDescription

public ReportInstanceStatusRequest withDescription(String description)
Sets the value of the Description property for this object.

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

Parameters:
description - The new value for the Description property for this object.
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.