@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDBSnapshotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the result of a successful invocation of the DescribeDBSnapshots action.
Constructor and Description |
---|
DescribeDBSnapshotsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDBSnapshotsResult |
clone() |
boolean |
equals(Object obj) |
List<DBSnapshot> |
getDBSnapshots()
A list of DBSnapshot instances.
|
String |
getMarker()
An optional pagination token provided by a previous request.
|
int |
hashCode() |
void |
setDBSnapshots(Collection<DBSnapshot> dBSnapshots)
A list of DBSnapshot instances.
|
void |
setMarker(String marker)
An optional pagination token provided by a previous request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeDBSnapshotsResult |
withDBSnapshots(Collection<DBSnapshot> dBSnapshots)
A list of DBSnapshot instances.
|
DescribeDBSnapshotsResult |
withDBSnapshots(DBSnapshot... dBSnapshots)
A list of DBSnapshot instances.
|
DescribeDBSnapshotsResult |
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 DescribeDBSnapshotsResult 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<DBSnapshot> getDBSnapshots()
A list of DBSnapshot instances.
public void setDBSnapshots(Collection<DBSnapshot> dBSnapshots)
A list of DBSnapshot instances.
dBSnapshots
- A list of DBSnapshot instances.public DescribeDBSnapshotsResult withDBSnapshots(DBSnapshot... dBSnapshots)
A list of DBSnapshot instances.
NOTE: This method appends the values to the existing list (if any). Use
setDBSnapshots(java.util.Collection)
or withDBSnapshots(java.util.Collection)
if you want to
override the existing values.
dBSnapshots
- A list of DBSnapshot instances.public DescribeDBSnapshotsResult withDBSnapshots(Collection<DBSnapshot> dBSnapshots)
A list of DBSnapshot instances.
dBSnapshots
- A list of DBSnapshot instances.public String toString()
toString
in class Object
Object.toString()
public DescribeDBSnapshotsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.