@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CatalogTarget extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an AWS Glue Data Catalog target.
| Constructor and Description |
|---|
CatalogTarget() |
| Modifier and Type | Method and Description |
|---|---|
CatalogTarget |
clone() |
boolean |
equals(Object obj) |
String |
getDatabaseName()
The name of the database to be synchronized.
|
List<String> |
getTables()
A list of the tables to be synchronized.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDatabaseName(String databaseName)
The name of the database to be synchronized.
|
void |
setTables(Collection<String> tables)
A list of the tables to be synchronized.
|
String |
toString()
Returns a string representation of this object.
|
CatalogTarget |
withDatabaseName(String databaseName)
The name of the database to be synchronized.
|
CatalogTarget |
withTables(Collection<String> tables)
A list of the tables to be synchronized.
|
CatalogTarget |
withTables(String... tables)
A list of the tables to be synchronized.
|
public void setDatabaseName(String databaseName)
The name of the database to be synchronized.
databaseName - The name of the database to be synchronized.public String getDatabaseName()
The name of the database to be synchronized.
public CatalogTarget withDatabaseName(String databaseName)
The name of the database to be synchronized.
databaseName - The name of the database to be synchronized.public List<String> getTables()
A list of the tables to be synchronized.
public void setTables(Collection<String> tables)
A list of the tables to be synchronized.
tables - A list of the tables to be synchronized.public CatalogTarget withTables(String... tables)
A list of the tables to be synchronized.
NOTE: This method appends the values to the existing list (if any). Use
setTables(java.util.Collection) or withTables(java.util.Collection) if you want to override the
existing values.
tables - A list of the tables to be synchronized.public CatalogTarget withTables(Collection<String> tables)
A list of the tables to be synchronized.
tables - A list of the tables to be synchronized.public String toString()
toString in class ObjectObject.toString()public CatalogTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.