public class DescribeDBSnapshotsRequest extends AmazonWebServiceRequest implements Serializable
DescribeDBSnapshots operation
.
Returns information about DB snapshots. This API supports pagination.
Constructor and Description |
---|
DescribeDBSnapshotsRequest()
Default constructor for a new DescribeDBSnapshotsRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDBInstanceIdentifier()
A DB instance identifier to retrieve the list of DB snapshots for.
|
String |
getDBSnapshotIdentifier()
A specific DB snapshot identifier to describe.
|
List<Filter> |
getFilters()
This parameter is not currently supported.
|
String |
getMarker()
An optional pagination token provided by a previous
DescribeDBSnapshots request. |
Integer |
getMaxRecords()
The maximum number of records to include in the response.
|
String |
getSnapshotType()
The type of snapshots that will be returned.
|
int |
hashCode() |
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
A DB instance identifier to retrieve the list of DB snapshots for.
|
void |
setDBSnapshotIdentifier(String dBSnapshotIdentifier)
A specific DB snapshot identifier to describe.
|
void |
setFilters(Collection<Filter> filters)
This parameter is not currently supported.
|
void |
setMarker(String marker)
An optional pagination token provided by a previous
DescribeDBSnapshots request. |
void |
setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
void |
setSnapshotType(String snapshotType)
The type of snapshots that will be returned.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDBSnapshotsRequest |
withDBInstanceIdentifier(String dBInstanceIdentifier)
A DB instance identifier to retrieve the list of DB snapshots for.
|
DescribeDBSnapshotsRequest |
withDBSnapshotIdentifier(String dBSnapshotIdentifier)
A specific DB snapshot identifier to describe.
|
DescribeDBSnapshotsRequest |
withFilters(Collection<Filter> filters)
This parameter is not currently supported.
|
DescribeDBSnapshotsRequest |
withFilters(Filter... filters)
This parameter is not currently supported.
|
DescribeDBSnapshotsRequest |
withMarker(String marker)
An optional pagination token provided by a previous
DescribeDBSnapshots request. |
DescribeDBSnapshotsRequest |
withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeDBSnapshotsRequest |
withSnapshotType(String snapshotType)
The type of snapshots that will be returned.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DescribeDBSnapshotsRequest()
public String getDBInstanceIdentifier()
DBSnapshotIdentifier
.
This parameter is not case sensitive. Constraints:
DBSnapshotIdentifier
.
This parameter is not case sensitive. Constraints:
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
DBSnapshotIdentifier
.
This parameter is not case sensitive. Constraints:
dBInstanceIdentifier
- A DB instance identifier to retrieve the list of DB snapshots for.
Cannot be used in conjunction with DBSnapshotIdentifier
.
This parameter is not case sensitive. Constraints:
public DescribeDBSnapshotsRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
DBSnapshotIdentifier
.
This parameter is not case sensitive. Constraints:
Returns a reference to this object so that method calls can be chained together.
dBInstanceIdentifier
- A DB instance identifier to retrieve the list of DB snapshots for.
Cannot be used in conjunction with DBSnapshotIdentifier
.
This parameter is not case sensitive. Constraints:
public String getDBSnapshotIdentifier()
DBInstanceIdentifier
. This value is
stored as a lowercase string. Constraints:
SnapshotType
parameter must also be specified.DBInstanceIdentifier
. This value is
stored as a lowercase string. Constraints:
SnapshotType
parameter must also be specified.public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
DBInstanceIdentifier
. This value is
stored as a lowercase string. Constraints:
SnapshotType
parameter must also be specified.dBSnapshotIdentifier
- A specific DB snapshot identifier to describe. Cannot be used in
conjunction with DBInstanceIdentifier
. This value is
stored as a lowercase string. Constraints:
SnapshotType
parameter must also be specified.public DescribeDBSnapshotsRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier)
DBInstanceIdentifier
. This value is
stored as a lowercase string. Constraints:
SnapshotType
parameter must also be specified.Returns a reference to this object so that method calls can be chained together.
dBSnapshotIdentifier
- A specific DB snapshot identifier to describe. Cannot be used in
conjunction with DBInstanceIdentifier
. This value is
stored as a lowercase string. Constraints:
SnapshotType
parameter must also be specified.public String getSnapshotType()
public void setSnapshotType(String snapshotType)
snapshotType
- The type of snapshots that will be returned. Values can be "automated"
or "manual." If not specified, the returned results will include all
snapshots types.public DescribeDBSnapshotsRequest withSnapshotType(String snapshotType)
Returns a reference to this object so that method calls can be chained together.
snapshotType
- The type of snapshots that will be returned. Values can be "automated"
or "manual." If not specified, the returned results will include all
snapshots types.public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters
- This parameter is not currently supported.public DescribeDBSnapshotsRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters
- This parameter is not currently supported.public DescribeDBSnapshotsRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters
- This parameter is not currently supported.public Integer getMaxRecords()
MaxRecords
value, a
pagination token called a marker is included in the response so that
the remaining results may be retrieved. Default: 100
Constraints: minimum 20, maximum 100
MaxRecords
value, a
pagination token called a marker is included in the response so that
the remaining results may be retrieved. Default: 100
Constraints: minimum 20, maximum 100
public void setMaxRecords(Integer maxRecords)
MaxRecords
value, a
pagination token called a marker is included in the response so that
the remaining results may be retrieved. Default: 100
Constraints: minimum 20, maximum 100
maxRecords
- The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a
pagination token called a marker is included in the response so that
the remaining results may be retrieved. Default: 100
Constraints: minimum 20, maximum 100
public DescribeDBSnapshotsRequest withMaxRecords(Integer maxRecords)
MaxRecords
value, a
pagination token called a marker is included in the response so that
the remaining results may be retrieved. Default: 100
Constraints: minimum 20, maximum 100
Returns a reference to this object so that method calls can be chained together.
maxRecords
- The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a
pagination token called a marker is included in the response so that
the remaining results may be retrieved. Default: 100
Constraints: minimum 20, maximum 100
public String getMarker()
DescribeDBSnapshots
request. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords
.DescribeDBSnapshots
request. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords
.public void setMarker(String marker)
DescribeDBSnapshots
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
DescribeDBSnapshots
request. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords
.public DescribeDBSnapshotsRequest withMarker(String marker)
DescribeDBSnapshots
request. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords
.
Returns a reference to this object so that method calls can be chained together.
marker
- An optional pagination token provided by a previous
DescribeDBSnapshots
request. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords
.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.