public class DescribeVolumeStatusResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeVolumeStatus.
Constructor and Description |
---|
DescribeVolumeStatusResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token to use to retrieve the next page of results.
|
java.util.List<VolumeStatusItem> |
getVolumeStatuses()
A list of volumes.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
|
void |
setVolumeStatuses(java.util.Collection<VolumeStatusItem> volumeStatuses)
A list of volumes.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVolumeStatusResult |
withNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
|
DescribeVolumeStatusResult |
withVolumeStatuses(java.util.Collection<VolumeStatusItem> volumeStatuses)
A list of volumes.
|
DescribeVolumeStatusResult |
withVolumeStatuses(VolumeStatusItem... volumeStatuses)
A list of volumes.
|
public java.util.List<VolumeStatusItem> getVolumeStatuses()
public void setVolumeStatuses(java.util.Collection<VolumeStatusItem> volumeStatuses)
volumeStatuses
- A list of volumes.public DescribeVolumeStatusResult withVolumeStatuses(VolumeStatusItem... volumeStatuses)
Returns a reference to this object so that method calls can be chained together.
volumeStatuses
- A list of volumes.public DescribeVolumeStatusResult withVolumeStatuses(java.util.Collection<VolumeStatusItem> volumeStatuses)
Returns a reference to this object so that method calls can be chained together.
volumeStatuses
- A list of volumes.public java.lang.String getNextToken()
null
when there are no more results to return.null
when there are no more results to return.public void setNextToken(java.lang.String nextToken)
null
when there are no more results to return.nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.public DescribeVolumeStatusResult withNextToken(java.lang.String nextToken)
null
when there are no more results to return.
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.