public class DescribeDBSnapshotsRequest extends AmazonWebServiceRequest implements Serializable
DescribeDBSnapshots operation
.
Returns information about DBSnapshots. 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.
|
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()
An optional snapshot type for which snapshots 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 |
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)
An optional snapshot type for which snapshots 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 |
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)
An optional snapshot type for which snapshots will be returned.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DescribeDBSnapshotsRequest()
public String getDBInstanceIdentifier()
Constraints:
Constraints:
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
Constraints:
dBInstanceIdentifier
- A DB Instance Identifier to retrieve the list of DB Snapshots for.
Cannot be used in conjunction with DBSnapshotIdentifier. This
parameter isn't case sensitive. Constraints:
public DescribeDBSnapshotsRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
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 isn't case sensitive. Constraints:
public String getDBSnapshotIdentifier()
Constraints:
SnapshotType
parameter must also be specified.Constraints:
SnapshotType
parameter must also be specified.public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
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)
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
- An optional snapshot type for which snapshots will be returned. If not
specified, the returned results will include snapshots of all types.public DescribeDBSnapshotsRequest withSnapshotType(String snapshotType)
Returns a reference to this object so that method calls can be chained together.
snapshotType
- An optional snapshot type for which snapshots will be returned. If not
specified, the returned results will include snapshots of all types.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()
MaxRecords
.MaxRecords
.public void setMarker(String marker)
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)
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.