@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeClusterSnapshotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output from the DescribeClusterSnapshots action.
Constructor and Description |
---|
DescribeClusterSnapshotsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeClusterSnapshotsResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
A value that indicates the starting point for the next set of response records in a subsequent request.
|
List<Snapshot> |
getSnapshots()
A list of Snapshot instances.
|
int |
hashCode() |
void |
setMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
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 value that indicates the starting point for the next set of response records in a subsequent request.
|
DescribeClusterSnapshotsResult |
withSnapshots(Collection<Snapshot> snapshots)
A list of Snapshot instances.
|
DescribeClusterSnapshotsResult |
withSnapshots(Snapshot... snapshots)
A list of Snapshot instances.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a
value is returned in a response, you can retrieve the next set of records by providing this returned marker value
in the Marker
parameter and retrying the command. If the Marker
field is empty, all
response records have been retrieved for the request.
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If
a value is returned in a response, you can retrieve the next set of records by providing this returned
marker value in the Marker
parameter and retrying the command. If the Marker
field is empty, all response records have been retrieved for the request.public String getMarker()
A value that indicates the starting point for the next set of response records in a subsequent request. If a
value is returned in a response, you can retrieve the next set of records by providing this returned marker value
in the Marker
parameter and retrying the command. If the Marker
field is empty, all
response records have been retrieved for the request.
Marker
parameter and retrying the command. If the Marker
field is empty, all response records have been retrieved for the request.public DescribeClusterSnapshotsResult withMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a
value is returned in a response, you can retrieve the next set of records by providing this returned marker value
in the Marker
parameter and retrying the command. If the Marker
field is empty, all
response records have been retrieved for the request.
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If
a value is returned in a response, you can retrieve the next set of records by providing this returned
marker value in the Marker
parameter and retrying the command. If the Marker
field is empty, all response records have been retrieved for the request.public List<Snapshot> getSnapshots()
A list of Snapshot instances.
public void setSnapshots(Collection<Snapshot> snapshots)
A list of Snapshot instances.
snapshots
- A list of Snapshot instances.public DescribeClusterSnapshotsResult withSnapshots(Snapshot... snapshots)
A list of Snapshot instances.
NOTE: This method appends the values to the existing list (if any). Use
setSnapshots(java.util.Collection)
or withSnapshots(java.util.Collection)
if you want to
override the existing values.
snapshots
- A list of Snapshot instances.public DescribeClusterSnapshotsResult withSnapshots(Collection<Snapshot> snapshots)
A list of Snapshot instances.
snapshots
- A list of Snapshot instances.public String toString()
toString
in class Object
Object.toString()
public DescribeClusterSnapshotsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.