@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatasetInputConfig extends Object implements Serializable, Cloneable, StructuredPojo
Defines the Glue data source and schema mapping information.
| Constructor and Description |
|---|
DatasetInputConfig() |
| Modifier and Type | Method and Description |
|---|---|
DatasetInputConfig |
clone() |
boolean |
equals(Object obj) |
DataSource |
getDataSource()
A DataSource object that specifies the Glue data source for the training data.
|
List<ColumnSchema> |
getSchema()
The schema information for the training data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDataSource(DataSource dataSource)
A DataSource object that specifies the Glue data source for the training data.
|
void |
setSchema(Collection<ColumnSchema> schema)
The schema information for the training data.
|
String |
toString()
Returns a string representation of this object.
|
DatasetInputConfig |
withDataSource(DataSource dataSource)
A DataSource object that specifies the Glue data source for the training data.
|
DatasetInputConfig |
withSchema(Collection<ColumnSchema> schema)
The schema information for the training data.
|
DatasetInputConfig |
withSchema(ColumnSchema... schema)
The schema information for the training data.
|
public List<ColumnSchema> getSchema()
The schema information for the training data.
public void setSchema(Collection<ColumnSchema> schema)
The schema information for the training data.
schema - The schema information for the training data.public DatasetInputConfig withSchema(ColumnSchema... schema)
The schema information for the training data.
NOTE: This method appends the values to the existing list (if any). Use
setSchema(java.util.Collection) or withSchema(java.util.Collection) if you want to override the
existing values.
schema - The schema information for the training data.public DatasetInputConfig withSchema(Collection<ColumnSchema> schema)
The schema information for the training data.
schema - The schema information for the training data.public void setDataSource(DataSource dataSource)
A DataSource object that specifies the Glue data source for the training data.
dataSource - A DataSource object that specifies the Glue data source for the training data.public DataSource getDataSource()
A DataSource object that specifies the Glue data source for the training data.
public DatasetInputConfig withDataSource(DataSource dataSource)
A DataSource object that specifies the Glue data source for the training data.
dataSource - A DataSource object that specifies the Glue data source for the training data.public String toString()
toString in class ObjectObject.toString()public DatasetInputConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.