com.amazonaws.services.ec2.model
Class DescribeVolumeStatusResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeVolumeStatusResult
All Implemented Interfaces:
Serializable

public class DescribeVolumeStatusResult
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
DescribeVolumeStatusResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getNextToken()
          The next paginated set of results to return.
 List<VolumeStatusItem> getVolumeStatuses()
          A list of volumes.
 int hashCode()
           
 void setNextToken(String nextToken)
          The next paginated set of results to return.
 void setVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
          A list of volumes.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeVolumeStatusResult withNextToken(String nextToken)
          The next paginated set of results to return.
 DescribeVolumeStatusResult withVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
          A list of volumes.
 DescribeVolumeStatusResult withVolumeStatuses(VolumeStatusItem... volumeStatuses)
          A list of volumes.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeVolumeStatusResult

public DescribeVolumeStatusResult()
Method Detail

getVolumeStatuses

public List<VolumeStatusItem> getVolumeStatuses()
A list of volumes.

Returns:
A list of volumes.

setVolumeStatuses

public void setVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
A list of volumes.

Parameters:
volumeStatuses - A list of volumes.

withVolumeStatuses

public DescribeVolumeStatusResult withVolumeStatuses(VolumeStatusItem... volumeStatuses)
A list of volumes.

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

Parameters:
volumeStatuses - A list of volumes.
Returns:
A reference to this updated object so that method calls can be chained together.

withVolumeStatuses

public DescribeVolumeStatusResult withVolumeStatuses(Collection<VolumeStatusItem> volumeStatuses)
A list of volumes.

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

Parameters:
volumeStatuses - A list of volumes.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public String getNextToken()
The next paginated set of results to return.

Returns:
The next paginated set of results to return.

setNextToken

public void setNextToken(String nextToken)
The next paginated set of results to return.

Parameters:
nextToken - The next paginated set of results to return.

withNextToken

public DescribeVolumeStatusResult withNextToken(String nextToken)
The next paginated set of results to return.

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

Parameters:
nextToken - The next paginated set of results to return.
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 © 2016. All rights reserved.