@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatabaseResource extends Object implements Serializable, Cloneable, StructuredPojo
A structure for the database object.
| Constructor and Description |
|---|
DatabaseResource() |
| Modifier and Type | Method and Description |
|---|---|
DatabaseResource |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogId()
The identifier for the Data Catalog.
|
String |
getName()
The name of the database resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCatalogId(String catalogId)
The identifier for the Data Catalog.
|
void |
setName(String name)
The name of the database resource.
|
String |
toString()
Returns a string representation of this object.
|
DatabaseResource |
withCatalogId(String catalogId)
The identifier for the Data Catalog.
|
DatabaseResource |
withName(String name)
The name of the database resource.
|
public void setCatalogId(String catalogId)
The identifier for the Data Catalog. By default, it is the account ID of the caller.
catalogId - The identifier for the Data Catalog. By default, it is the account ID of the caller.public String getCatalogId()
The identifier for the Data Catalog. By default, it is the account ID of the caller.
public DatabaseResource withCatalogId(String catalogId)
The identifier for the Data Catalog. By default, it is the account ID of the caller.
catalogId - The identifier for the Data Catalog. By default, it is the account ID of the caller.public void setName(String name)
The name of the database resource. Unique to the Data Catalog.
name - The name of the database resource. Unique to the Data Catalog.public String getName()
The name of the database resource. Unique to the Data Catalog.
public DatabaseResource withName(String name)
The name of the database resource. Unique to the Data Catalog.
name - The name of the database resource. Unique to the Data Catalog.public String toString()
toString in class ObjectObject.toString()public DatabaseResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.