@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVolumesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeVolumesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVolumesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken() |
List<Volume> |
getVolumes()
Returned after a successful
DescribeVolumes operation, describing each volume. |
int |
hashCode() |
void |
setNextToken(String nextToken) |
void |
setVolumes(Collection<Volume> volumes)
Returned after a successful
DescribeVolumes operation, describing each volume. |
String |
toString()
Returns a string representation of this object.
|
DescribeVolumesResult |
withNextToken(String nextToken) |
DescribeVolumesResult |
withVolumes(Collection<Volume> volumes)
Returned after a successful
DescribeVolumes operation, describing each volume. |
DescribeVolumesResult |
withVolumes(Volume... volumes)
Returned after a successful
DescribeVolumes operation, describing each volume. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Volume> getVolumes()
Returned after a successful DescribeVolumes
operation, describing each volume.
DescribeVolumes
operation, describing each volume.public void setVolumes(Collection<Volume> volumes)
Returned after a successful DescribeVolumes
operation, describing each volume.
volumes
- Returned after a successful DescribeVolumes
operation, describing each volume.public DescribeVolumesResult withVolumes(Volume... volumes)
Returned after a successful DescribeVolumes
operation, describing each volume.
NOTE: This method appends the values to the existing list (if any). Use
setVolumes(java.util.Collection)
or withVolumes(java.util.Collection)
if you want to override
the existing values.
volumes
- Returned after a successful DescribeVolumes
operation, describing each volume.public DescribeVolumesResult withVolumes(Collection<Volume> volumes)
Returned after a successful DescribeVolumes
operation, describing each volume.
volumes
- Returned after a successful DescribeVolumes
operation, describing each volume.public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public DescribeVolumesResult withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public DescribeVolumesResult clone()