@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JDBCConnectorSource extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a connector to a JDBC data source.
Constructor and Description |
---|
JDBCConnectorSource() |
Modifier and Type | Method and Description |
---|---|
JDBCConnectorSource |
clone() |
boolean |
equals(Object obj) |
JDBCConnectorOptions |
getAdditionalOptions()
Additional connection options for the connector.
|
String |
getConnectionName()
The name of the connection that is associated with the connector.
|
String |
getConnectionTable()
The name of the table in the data source.
|
String |
getConnectionType()
The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.
|
String |
getConnectorName()
The name of a connector that assists with accessing the data store in Glue Studio.
|
String |
getName()
The name of the data source.
|
List<GlueSchema> |
getOutputSchemas()
Specifies the data schema for the custom JDBC source.
|
String |
getQuery()
The table or SQL query to get the data from.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalOptions(JDBCConnectorOptions additionalOptions)
Additional connection options for the connector.
|
void |
setConnectionName(String connectionName)
The name of the connection that is associated with the connector.
|
void |
setConnectionTable(String connectionTable)
The name of the table in the data source.
|
void |
setConnectionType(String connectionType)
The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.
|
void |
setConnectorName(String connectorName)
The name of a connector that assists with accessing the data store in Glue Studio.
|
void |
setName(String name)
The name of the data source.
|
void |
setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom JDBC source.
|
void |
setQuery(String query)
The table or SQL query to get the data from.
|
String |
toString()
Returns a string representation of this object.
|
JDBCConnectorSource |
withAdditionalOptions(JDBCConnectorOptions additionalOptions)
Additional connection options for the connector.
|
JDBCConnectorSource |
withConnectionName(String connectionName)
The name of the connection that is associated with the connector.
|
JDBCConnectorSource |
withConnectionTable(String connectionTable)
The name of the table in the data source.
|
JDBCConnectorSource |
withConnectionType(String connectionType)
The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.
|
JDBCConnectorSource |
withConnectorName(String connectorName)
The name of a connector that assists with accessing the data store in Glue Studio.
|
JDBCConnectorSource |
withName(String name)
The name of the data source.
|
JDBCConnectorSource |
withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom JDBC source.
|
JDBCConnectorSource |
withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the custom JDBC source.
|
JDBCConnectorSource |
withQuery(String query)
The table or SQL query to get the data from.
|
public void setName(String name)
The name of the data source.
name
- The name of the data source.public String getName()
The name of the data source.
public JDBCConnectorSource withName(String name)
The name of the data source.
name
- The name of the data source.public void setConnectionName(String connectionName)
The name of the connection that is associated with the connector.
connectionName
- The name of the connection that is associated with the connector.public String getConnectionName()
The name of the connection that is associated with the connector.
public JDBCConnectorSource withConnectionName(String connectionName)
The name of the connection that is associated with the connector.
connectionName
- The name of the connection that is associated with the connector.public void setConnectorName(String connectorName)
The name of a connector that assists with accessing the data store in Glue Studio.
connectorName
- The name of a connector that assists with accessing the data store in Glue Studio.public String getConnectorName()
The name of a connector that assists with accessing the data store in Glue Studio.
public JDBCConnectorSource withConnectorName(String connectorName)
The name of a connector that assists with accessing the data store in Glue Studio.
connectorName
- The name of a connector that assists with accessing the data store in Glue Studio.public void setConnectionType(String connectionType)
The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.
connectionType
- The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data
store.public String getConnectionType()
The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.
public JDBCConnectorSource withConnectionType(String connectionType)
The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.
connectionType
- The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data
store.public void setAdditionalOptions(JDBCConnectorOptions additionalOptions)
Additional connection options for the connector.
additionalOptions
- Additional connection options for the connector.public JDBCConnectorOptions getAdditionalOptions()
Additional connection options for the connector.
public JDBCConnectorSource withAdditionalOptions(JDBCConnectorOptions additionalOptions)
Additional connection options for the connector.
additionalOptions
- Additional connection options for the connector.public void setConnectionTable(String connectionTable)
The name of the table in the data source.
connectionTable
- The name of the table in the data source.public String getConnectionTable()
The name of the table in the data source.
public JDBCConnectorSource withConnectionTable(String connectionTable)
The name of the table in the data source.
connectionTable
- The name of the table in the data source.public void setQuery(String query)
The table or SQL query to get the data from. You can specify either ConnectionTable
or
query
, but not both.
query
- The table or SQL query to get the data from. You can specify either ConnectionTable
or
query
, but not both.public String getQuery()
The table or SQL query to get the data from. You can specify either ConnectionTable
or
query
, but not both.
ConnectionTable
or
query
, but not both.public JDBCConnectorSource withQuery(String query)
The table or SQL query to get the data from. You can specify either ConnectionTable
or
query
, but not both.
query
- The table or SQL query to get the data from. You can specify either ConnectionTable
or
query
, but not both.public List<GlueSchema> getOutputSchemas()
Specifies the data schema for the custom JDBC source.
public void setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom JDBC source.
outputSchemas
- Specifies the data schema for the custom JDBC source.public JDBCConnectorSource withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the custom JDBC source.
NOTE: This method appends the values to the existing list (if any). Use
setOutputSchemas(java.util.Collection)
or withOutputSchemas(java.util.Collection)
if you want
to override the existing values.
outputSchemas
- Specifies the data schema for the custom JDBC source.public JDBCConnectorSource withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom JDBC source.
outputSchemas
- Specifies the data schema for the custom JDBC source.public String toString()
toString
in class Object
Object.toString()
public JDBCConnectorSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.