@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatabaseIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
A structure that describes a target database for resource linking.
Constructor and Description |
---|
DatabaseIdentifier() |
Modifier and Type | Method and Description |
---|---|
DatabaseIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogId()
The ID of the Data Catalog in which the database resides.
|
String |
getDatabaseName()
The name of the catalog database.
|
String |
getRegion()
Region of the target database.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog in which the database resides.
|
void |
setDatabaseName(String databaseName)
The name of the catalog database.
|
void |
setRegion(String region)
Region of the target database.
|
String |
toString()
Returns a string representation of this object.
|
DatabaseIdentifier |
withCatalogId(String catalogId)
The ID of the Data Catalog in which the database resides.
|
DatabaseIdentifier |
withDatabaseName(String databaseName)
The name of the catalog database.
|
DatabaseIdentifier |
withRegion(String region)
Region of the target database.
|
public void setCatalogId(String catalogId)
The ID of the Data Catalog in which the database resides.
catalogId
- The ID of the Data Catalog in which the database resides.public String getCatalogId()
The ID of the Data Catalog in which the database resides.
public DatabaseIdentifier withCatalogId(String catalogId)
The ID of the Data Catalog in which the database resides.
catalogId
- The ID of the Data Catalog in which the database resides.public void setDatabaseName(String databaseName)
The name of the catalog database.
databaseName
- The name of the catalog database.public String getDatabaseName()
The name of the catalog database.
public DatabaseIdentifier withDatabaseName(String databaseName)
The name of the catalog database.
databaseName
- The name of the catalog database.public void setRegion(String region)
Region of the target database.
region
- Region of the target database.public String getRegion()
Region of the target database.
public DatabaseIdentifier withRegion(String region)
Region of the target database.
region
- Region of the target database.public String toString()
toString
in class Object
Object.toString()
public DatabaseIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.