public class RDSDatabase extends Object implements Serializable, Cloneable
The database details of an Amazon RDS database.
| Constructor and Description |
|---|
RDSDatabase() |
| Modifier and Type | Method and Description |
|---|---|
RDSDatabase |
clone() |
boolean |
equals(Object obj) |
String |
getDatabaseName()
The name of a database hosted on an RDS DB instance.
|
String |
getInstanceIdentifier()
The ID of an RDS DB instance.
|
int |
hashCode() |
void |
setDatabaseName(String databaseName)
The name of a database hosted on an RDS DB instance.
|
void |
setInstanceIdentifier(String instanceIdentifier)
The ID of an RDS DB instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RDSDatabase |
withDatabaseName(String databaseName)
The name of a database hosted on an RDS DB instance.
|
RDSDatabase |
withInstanceIdentifier(String instanceIdentifier)
The ID of an RDS DB instance.
|
public String getInstanceIdentifier()
Constraints:
Length: 1 - 63
Pattern: [a-z0-9-]+
public void setInstanceIdentifier(String instanceIdentifier)
Constraints:
Length: 1 - 63
Pattern: [a-z0-9-]+
instanceIdentifier - The ID of an RDS DB instance.public RDSDatabase withInstanceIdentifier(String instanceIdentifier)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 63
Pattern: [a-z0-9-]+
instanceIdentifier - The ID of an RDS DB instance.public String getDatabaseName()
Constraints:
Length: 1 - 64
public void setDatabaseName(String databaseName)
Constraints:
Length: 1 - 64
databaseName - The name of a database hosted on an RDS DB instance.public RDSDatabase withDatabaseName(String databaseName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
databaseName - The name of a database hosted on an RDS DB instance.public String toString()
toString in class ObjectObject.toString()public RDSDatabase clone()
Copyright © 2015. All rights reserved.