@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CatalogSource extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a data store in the Glue Data Catalog.
Constructor and Description |
---|
CatalogSource() |
Modifier and Type | Method and Description |
---|---|
CatalogSource |
clone() |
boolean |
equals(Object obj) |
String |
getDatabase()
The name of the database to read from.
|
String |
getName()
The name of the data store.
|
String |
getTable()
The name of the table in the database to read from.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatabase(String database)
The name of the database to read from.
|
void |
setName(String name)
The name of the data store.
|
void |
setTable(String table)
The name of the table in the database to read from.
|
String |
toString()
Returns a string representation of this object.
|
CatalogSource |
withDatabase(String database)
The name of the database to read from.
|
CatalogSource |
withName(String name)
The name of the data store.
|
CatalogSource |
withTable(String table)
The name of the table in the database to read from.
|
public void setName(String name)
The name of the data store.
name
- The name of the data store.public String getName()
The name of the data store.
public CatalogSource withName(String name)
The name of the data store.
name
- The name of the data store.public void setDatabase(String database)
The name of the database to read from.
database
- The name of the database to read from.public String getDatabase()
The name of the database to read from.
public CatalogSource withDatabase(String database)
The name of the database to read from.
database
- The name of the database to read from.public void setTable(String table)
The name of the table in the database to read from.
table
- The name of the table in the database to read from.public String getTable()
The name of the table in the database to read from.
public CatalogSource withTable(String table)
The name of the table in the database to read from.
table
- The name of the table in the database to read from.public String toString()
toString
in class Object
Object.toString()
public CatalogSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.