com.amazonaws.services.rds.model
Class DescribeDBSnapshotsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.DescribeDBSnapshotsRequest

public class DescribeDBSnapshotsRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeDBSnapshots operation.

Returns information about DBSnapshots. This API supports pagination.

See Also:
AmazonRDS.describeDBSnapshots(DescribeDBSnapshotsRequest)

Constructor Summary
DescribeDBSnapshotsRequest()
          Default constructor for a new DescribeDBSnapshotsRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getDBInstanceIdentifier()
          The unique identifier for the Amazon RDS DB snapshot.
 String getDBSnapshotIdentifier()
          The DB Instance identifier.
 String getMarker()
          An optional marker provided in the previous DescribeDBInstances request.
 Integer getMaxRecords()
          The maximum number of records to include in the response.
 int hashCode()
           
 void setDBInstanceIdentifier(String dBInstanceIdentifier)
          The unique identifier for the Amazon RDS DB snapshot.
 void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
          The DB Instance identifier.
 void setMarker(String marker)
          An optional marker provided in the previous DescribeDBInstances request.
 void setMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeDBSnapshotsRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
          The unique identifier for the Amazon RDS DB snapshot.
 DescribeDBSnapshotsRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier)
          The DB Instance identifier.
 DescribeDBSnapshotsRequest withMarker(String marker)
          An optional marker provided in the previous DescribeDBInstances request.
 DescribeDBSnapshotsRequest withMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeDBSnapshotsRequest

public DescribeDBSnapshotsRequest()
Default constructor for a new DescribeDBSnapshotsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getDBInstanceIdentifier

public String getDBInstanceIdentifier()
The unique identifier for the Amazon RDS DB snapshot. This value is stored as a lowercase string.

Constraints:

Returns:
The unique identifier for the Amazon RDS DB snapshot. This value is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

setDBInstanceIdentifier

public void setDBInstanceIdentifier(String dBInstanceIdentifier)
The unique identifier for the Amazon RDS DB snapshot. This value is stored as a lowercase string.

Constraints:

Parameters:
dBInstanceIdentifier - The unique identifier for the Amazon RDS DB snapshot. This value is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

withDBInstanceIdentifier

public DescribeDBSnapshotsRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
The unique identifier for the Amazon RDS DB snapshot. This value is stored as a lowercase string.

Constraints:

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBInstanceIdentifier - The unique identifier for the Amazon RDS DB snapshot. This value is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens
Returns:
A reference to this updated object so that method calls can be chained together.

getDBSnapshotIdentifier

public String getDBSnapshotIdentifier()
The DB Instance identifier. This parameter isn't case sensitive.

Constraints:

Returns:
The DB Instance identifier. This parameter isn't case sensitive.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

setDBSnapshotIdentifier

public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
The DB Instance identifier. This parameter isn't case sensitive.

Constraints:

Parameters:
dBSnapshotIdentifier - The DB Instance identifier. This parameter isn't case sensitive.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

withDBSnapshotIdentifier

public DescribeDBSnapshotsRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier)
The DB Instance identifier. This parameter isn't case sensitive.

Constraints:

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBSnapshotIdentifier - The DB Instance identifier. This parameter isn't case sensitive.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxRecords

public Integer getMaxRecords()
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100

Returns:
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100


setMaxRecords

public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100


withMaxRecords

public DescribeDBSnapshotsRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, 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.

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, 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 updated object so that method calls can be chained together.

getMarker

public String getMarker()
An optional marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns:
An optional marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

setMarker

public void setMarker(String marker)
An optional marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Parameters:
marker - An optional marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

withMarker

public DescribeDBSnapshotsRequest withMarker(String marker)
An optional marker provided in the previous DescribeDBInstances 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.

Parameters:
marker - An optional marker provided in the previous DescribeDBInstances 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 updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.