@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListClusterSnapshotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListClusterSnapshotsResult() |
Modifier and Type | Method and Description |
---|---|
ListClusterSnapshotsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The response will provide a nextToken if there is more data beyond the maxResults.
|
List<ClusterSnapshotInList> |
getSnapshots()
A list of Elastic DocumentDB snapshots for a specified cluster.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The response will provide a nextToken if there is more data beyond the maxResults.
|
void |
setSnapshots(Collection<ClusterSnapshotInList> snapshots)
A list of Elastic DocumentDB snapshots for a specified cluster.
|
String |
toString()
Returns a string representation of this object.
|
ListClusterSnapshotsResult |
withNextToken(String nextToken)
The response will provide a nextToken if there is more data beyond the maxResults.
|
ListClusterSnapshotsResult |
withSnapshots(ClusterSnapshotInList... snapshots)
A list of Elastic DocumentDB snapshots for a specified cluster.
|
ListClusterSnapshotsResult |
withSnapshots(Collection<ClusterSnapshotInList> snapshots)
A list of Elastic DocumentDB snapshots for a specified cluster.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The response will provide a nextToken if there is more data beyond the maxResults.
If there is no more data in the responce, the nextToken will not be returned.
nextToken
- The response will provide a nextToken if there is more data beyond the maxResults.
If there is no more data in the responce, the nextToken will not be returned.
public String getNextToken()
The response will provide a nextToken if there is more data beyond the maxResults.
If there is no more data in the responce, the nextToken will not be returned.
If there is no more data in the responce, the nextToken will not be returned.
public ListClusterSnapshotsResult withNextToken(String nextToken)
The response will provide a nextToken if there is more data beyond the maxResults.
If there is no more data in the responce, the nextToken will not be returned.
nextToken
- The response will provide a nextToken if there is more data beyond the maxResults.
If there is no more data in the responce, the nextToken will not be returned.
public List<ClusterSnapshotInList> getSnapshots()
A list of Elastic DocumentDB snapshots for a specified cluster.
public void setSnapshots(Collection<ClusterSnapshotInList> snapshots)
A list of Elastic DocumentDB snapshots for a specified cluster.
snapshots
- A list of Elastic DocumentDB snapshots for a specified cluster.public ListClusterSnapshotsResult withSnapshots(ClusterSnapshotInList... snapshots)
A list of Elastic DocumentDB snapshots for a specified cluster.
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 Elastic DocumentDB snapshots for a specified cluster.public ListClusterSnapshotsResult withSnapshots(Collection<ClusterSnapshotInList> snapshots)
A list of Elastic DocumentDB snapshots for a specified cluster.
snapshots
- A list of Elastic DocumentDB snapshots for a specified cluster.public String toString()
toString
in class Object
Object.toString()
public ListClusterSnapshotsResult clone()