@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BasicCatalogTarget extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a target that uses a Glue Data Catalog table.
Constructor and Description |
---|
BasicCatalogTarget() |
Modifier and Type | Method and Description |
---|---|
BasicCatalogTarget |
clone() |
boolean |
equals(Object obj) |
String |
getDatabase()
The database that contains the table you want to use as the target.
|
List<String> |
getInputs()
The nodes that are inputs to the data target.
|
String |
getName()
The name of your data target.
|
String |
getTable()
The table that defines the schema of your output data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatabase(String database)
The database that contains the table you want to use as the target.
|
void |
setInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
|
void |
setName(String name)
The name of your data target.
|
void |
setTable(String table)
The table that defines the schema of your output data.
|
String |
toString()
Returns a string representation of this object.
|
BasicCatalogTarget |
withDatabase(String database)
The database that contains the table you want to use as the target.
|
BasicCatalogTarget |
withInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
|
BasicCatalogTarget |
withInputs(String... inputs)
The nodes that are inputs to the data target.
|
BasicCatalogTarget |
withName(String name)
The name of your data target.
|
BasicCatalogTarget |
withTable(String table)
The table that defines the schema of your output data.
|
public void setName(String name)
The name of your data target.
name
- The name of your data target.public String getName()
The name of your data target.
public BasicCatalogTarget withName(String name)
The name of your data target.
name
- The name of your data target.public List<String> getInputs()
The nodes that are inputs to the data target.
public void setInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
inputs
- The nodes that are inputs to the data target.public BasicCatalogTarget withInputs(String... inputs)
The nodes that are inputs to the data target.
NOTE: This method appends the values to the existing list (if any). Use
setInputs(java.util.Collection)
or withInputs(java.util.Collection)
if you want to override the
existing values.
inputs
- The nodes that are inputs to the data target.public BasicCatalogTarget withInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
inputs
- The nodes that are inputs to the data target.public void setDatabase(String database)
The database that contains the table you want to use as the target. This database must already exist in the Data Catalog.
database
- The database that contains the table you want to use as the target. This database must already exist in
the Data Catalog.public String getDatabase()
The database that contains the table you want to use as the target. This database must already exist in the Data Catalog.
public BasicCatalogTarget withDatabase(String database)
The database that contains the table you want to use as the target. This database must already exist in the Data Catalog.
database
- The database that contains the table you want to use as the target. This database must already exist in
the Data Catalog.public void setTable(String table)
The table that defines the schema of your output data. This table must already exist in the Data Catalog.
table
- The table that defines the schema of your output data. This table must already exist in the Data Catalog.public String getTable()
The table that defines the schema of your output data. This table must already exist in the Data Catalog.
public BasicCatalogTarget withTable(String table)
The table that defines the schema of your output data. This table must already exist in the Data Catalog.
table
- The table that defines the schema of your output data. This table must already exist in the Data Catalog.public String toString()
toString
in class Object
Object.toString()
public BasicCatalogTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.