com.amazonaws.services.ec2.model
Class DescribeVolumeStatusResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeVolumeStatusResult

public class DescribeVolumeStatusResult
extends Object

Describe Volume Status Result


Constructor Summary
DescribeVolumeStatusResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getNextToken()
          Returns the value of the NextToken property for this object.
 List<VolumeStatusItem> getVolumeStatuses()
          Returns the value of the VolumeStatuses property for this object.
 int hashCode()
           
 void setNextToken(String nextToken)
          Sets the value of the NextToken property for this object.
 void setVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
          Sets the value of the VolumeStatuses property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeVolumeStatusResult withNextToken(String nextToken)
          Sets the value of the NextToken property for this object.
 DescribeVolumeStatusResult withVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
          Sets the value of the VolumeStatuses property for this object.
 DescribeVolumeStatusResult withVolumeStatuses(VolumeStatusItem... volumeStatuses)
          Sets the value of the VolumeStatuses property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeVolumeStatusResult

public DescribeVolumeStatusResult()
Method Detail

getVolumeStatuses

public List<VolumeStatusItem> getVolumeStatuses()
Returns the value of the VolumeStatuses property for this object.

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

setVolumeStatuses

public void setVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
Sets the value of the VolumeStatuses property for this object.

Parameters:
volumeStatuses - The new value for the VolumeStatuses property for this object.

withVolumeStatuses

public DescribeVolumeStatusResult withVolumeStatuses(VolumeStatusItem... volumeStatuses)
Sets the value of the VolumeStatuses property for this object.

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

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

withVolumeStatuses

public DescribeVolumeStatusResult withVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
Sets the value of the VolumeStatuses property for this object.

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

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

getNextToken

public String getNextToken()
Returns the value of the NextToken property for this object.

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

setNextToken

public void setNextToken(String nextToken)
Sets the value of the NextToken property for this object.

Parameters:
nextToken - The new value for the NextToken property for this object.

withNextToken

public DescribeVolumeStatusResult withNextToken(String nextToken)
Sets the value of the NextToken property for this object.

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

Parameters:
nextToken - The new value for the NextToken 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.