public class DescribeVolumesResult extends Object implements Serializable
Contains the response to a DescribeVolumes
request.
Constructor and Description |
---|
DescribeVolumesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Volume> |
getVolumes()
An array of volume IDs.
|
int |
hashCode() |
void |
setVolumes(Collection<Volume> volumes)
An array of volume IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVolumesResult |
withVolumes(Collection<Volume> volumes)
An array of volume IDs.
|
DescribeVolumesResult |
withVolumes(Volume... volumes)
An array of volume IDs.
|
public void setVolumes(Collection<Volume> volumes)
volumes
- An array of volume IDs.public DescribeVolumesResult withVolumes(Volume... volumes)
Returns a reference to this object so that method calls can be chained together.
volumes
- An array of volume IDs.public DescribeVolumesResult withVolumes(Collection<Volume> volumes)
Returns a reference to this object so that method calls can be chained together.
volumes
- An array of volume IDs.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.