public class DescribeSnapshotsResult extends Object implements Serializable
The result of describing EBS snapshots.
Constructor and Description |
---|
DescribeSnapshotsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Snapshot> |
getSnapshots()
The list of described EBS snapshots.
|
int |
hashCode() |
void |
setSnapshots(Collection<Snapshot> snapshots)
The list of described EBS snapshots.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSnapshotsResult |
withSnapshots(Collection<Snapshot> snapshots)
The list of described EBS snapshots.
|
DescribeSnapshotsResult |
withSnapshots(Snapshot... snapshots)
The list of described EBS snapshots.
|
public List<Snapshot> getSnapshots()
public void setSnapshots(Collection<Snapshot> snapshots)
snapshots
- The list of described EBS snapshots.public DescribeSnapshotsResult withSnapshots(Snapshot... snapshots)
Returns a reference to this object so that method calls can be chained together.
snapshots
- The list of described EBS snapshots.public DescribeSnapshotsResult withSnapshots(Collection<Snapshot> snapshots)
Returns a reference to this object so that method calls can be chained together.
snapshots
- The list of described EBS snapshots.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.