@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDBClusterSnapshotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of DescribeDBClusterSnapshots.
Constructor and Description |
---|
DescribeDBClusterSnapshotsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDBClusterSnapshotsResult |
clone() |
boolean |
equals(Object obj) |
List<DBClusterSnapshot> |
getDBClusterSnapshots()
Provides a list of cluster snapshots.
|
String |
getMarker()
An optional pagination token provided by a previous request.
|
int |
hashCode() |
void |
setDBClusterSnapshots(Collection<DBClusterSnapshot> dBClusterSnapshots)
Provides a list of cluster snapshots.
|
void |
setMarker(String marker)
An optional pagination token provided by a previous request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDBClusterSnapshotsResult |
withDBClusterSnapshots(Collection<DBClusterSnapshot> dBClusterSnapshots)
Provides a list of cluster snapshots.
|
DescribeDBClusterSnapshotsResult |
withDBClusterSnapshots(DBClusterSnapshot... dBClusterSnapshots)
Provides a list of cluster snapshots.
|
DescribeDBClusterSnapshotsResult |
withMarker(String marker)
An optional pagination token provided by a previous request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMarker(String marker)
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.
marker
- An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.public String getMarker()
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.
MaxRecords
.public DescribeDBClusterSnapshotsResult withMarker(String marker)
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.
marker
- An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.public List<DBClusterSnapshot> getDBClusterSnapshots()
Provides a list of cluster snapshots.
public void setDBClusterSnapshots(Collection<DBClusterSnapshot> dBClusterSnapshots)
Provides a list of cluster snapshots.
dBClusterSnapshots
- Provides a list of cluster snapshots.public DescribeDBClusterSnapshotsResult withDBClusterSnapshots(DBClusterSnapshot... dBClusterSnapshots)
Provides a list of cluster snapshots.
NOTE: This method appends the values to the existing list (if any). Use
setDBClusterSnapshots(java.util.Collection)
or withDBClusterSnapshots(java.util.Collection)
if
you want to override the existing values.
dBClusterSnapshots
- Provides a list of cluster snapshots.public DescribeDBClusterSnapshotsResult withDBClusterSnapshots(Collection<DBClusterSnapshot> dBClusterSnapshots)
Provides a list of cluster snapshots.
dBClusterSnapshots
- Provides a list of cluster snapshots.public String toString()
toString
in class Object
Object.toString()
public DescribeDBClusterSnapshotsResult clone()