@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()
A pagination token provided by a previous request.
|
List<ClusterSnapshotInList> |
getSnapshots()
A list of snapshots for a specified elastic cluster.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A pagination token provided by a previous request.
|
void |
setSnapshots(Collection<ClusterSnapshotInList> snapshots)
A list of snapshots for a specified elastic cluster.
|
String |
toString()
Returns a string representation of this object.
|
ListClusterSnapshotsResult |
withNextToken(String nextToken)
A pagination token provided by a previous request.
|
ListClusterSnapshotsResult |
withSnapshots(ClusterSnapshotInList... snapshots)
A list of snapshots for a specified elastic cluster.
|
ListClusterSnapshotsResult |
withSnapshots(Collection<ClusterSnapshotInList> snapshots)
A list of snapshots for a specified elastic cluster.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A pagination token provided by a previous request. If this parameter is specified, the response includes only
records beyond this token, up to the value specified by max-results
.
If there is no more data in the responce, the nextToken
will not be returned.
nextToken
- A pagination token provided by a previous request. If this parameter is specified, the response includes
only records beyond this token, up to the value specified by max-results
.
If there is no more data in the responce, the nextToken
will not be returned.
public String getNextToken()
A pagination token provided by a previous request. If this parameter is specified, the response includes only
records beyond this token, up to the value specified by max-results
.
If there is no more data in the responce, the nextToken
will not be returned.
max-results
.
If there is no more data in the responce, the nextToken
will not be returned.
public ListClusterSnapshotsResult withNextToken(String nextToken)
A pagination token provided by a previous request. If this parameter is specified, the response includes only
records beyond this token, up to the value specified by max-results
.
If there is no more data in the responce, the nextToken
will not be returned.
nextToken
- A pagination token provided by a previous request. If this parameter is specified, the response includes
only records beyond this token, up to the value specified by max-results
.
If there is no more data in the responce, the nextToken
will not be returned.
public List<ClusterSnapshotInList> getSnapshots()
A list of snapshots for a specified elastic cluster.
public void setSnapshots(Collection<ClusterSnapshotInList> snapshots)
A list of snapshots for a specified elastic cluster.
snapshots
- A list of snapshots for a specified elastic cluster.public ListClusterSnapshotsResult withSnapshots(ClusterSnapshotInList... snapshots)
A list of snapshots for a specified elastic 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 snapshots for a specified elastic cluster.public ListClusterSnapshotsResult withSnapshots(Collection<ClusterSnapshotInList> snapshots)
A list of snapshots for a specified elastic cluster.
snapshots
- A list of snapshots for a specified elastic cluster.public String toString()
toString
in class Object
Object.toString()
public ListClusterSnapshotsResult clone()