public class DescribeClusterSnapshotsResult extends Object implements Serializable
Contains the output from the DescribeClusterSnapshots action.
Constructor and Description |
---|
DescribeClusterSnapshotsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getMarker()
A marker that indicates the first snapshot that a subsequent
DescribeClusterSnapshots request will return.
|
List<Snapshot> |
getSnapshots()
A list of Snapshot instances.
|
int |
hashCode() |
void |
setMarker(String marker)
A marker that indicates the first snapshot that a subsequent
DescribeClusterSnapshots request will return.
|
void |
setSnapshots(Collection<Snapshot> snapshots)
A list of Snapshot instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeClusterSnapshotsResult |
withMarker(String marker)
A marker that indicates the first snapshot that a subsequent
DescribeClusterSnapshots request will return.
|
DescribeClusterSnapshotsResult |
withSnapshots(Collection<Snapshot> snapshots)
A list of Snapshot instances.
|
DescribeClusterSnapshotsResult |
withSnapshots(Snapshot... snapshots)
A list of Snapshot instances.
|
public String getMarker()
public void setMarker(String marker)
marker
- A marker that indicates the first snapshot that a subsequent
DescribeClusterSnapshots request will return. The response
returns a marker only if there are more snapshots to list than the
current response can return.public DescribeClusterSnapshotsResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- A marker that indicates the first snapshot that a subsequent
DescribeClusterSnapshots request will return. The response
returns a marker only if there are more snapshots to list than the
current response can return.public List<Snapshot> getSnapshots()
public void setSnapshots(Collection<Snapshot> snapshots)
snapshots
- A list of Snapshot instances.public DescribeClusterSnapshotsResult withSnapshots(Snapshot... snapshots)
Returns a reference to this object so that method calls can be chained together.
snapshots
- A list of Snapshot instances.public DescribeClusterSnapshotsResult withSnapshots(Collection<Snapshot> snapshots)
Returns a reference to this object so that method calls can be chained together.
snapshots
- A list of Snapshot instances.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.