@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectorDataSource extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a source generated with standard connection options.
Constructor and Description |
---|
ConnectorDataSource() |
Modifier and Type | Method and Description |
---|---|
ConnectorDataSource |
addDataEntry(String key,
String value)
Add a single Data entry
|
ConnectorDataSource |
clearDataEntries()
Removes all the entries added into Data.
|
ConnectorDataSource |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionType()
The
connectionType , as provided to the underlying Glue library. |
Map<String,String> |
getData()
A map specifying connection options for the node.
|
String |
getName()
The name of this source node.
|
List<GlueSchema> |
getOutputSchemas()
Specifies the data schema for this source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionType(String connectionType)
The
connectionType , as provided to the underlying Glue library. |
void |
setData(Map<String,String> data)
A map specifying connection options for the node.
|
void |
setName(String name)
The name of this source node.
|
void |
setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for this source.
|
String |
toString()
Returns a string representation of this object.
|
ConnectorDataSource |
withConnectionType(String connectionType)
The
connectionType , as provided to the underlying Glue library. |
ConnectorDataSource |
withData(Map<String,String> data)
A map specifying connection options for the node.
|
ConnectorDataSource |
withName(String name)
The name of this source node.
|
ConnectorDataSource |
withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for this source.
|
ConnectorDataSource |
withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for this source.
|
public void setName(String name)
The name of this source node.
name
- The name of this source node.public String getName()
The name of this source node.
public ConnectorDataSource withName(String name)
The name of this source node.
name
- The name of this source node.public void setConnectionType(String connectionType)
The connectionType
, as provided to the underlying Glue library. This node type supports the
following connection types:
opensearch
azuresql
azurecosmos
bigquery
saphana
teradata
vertica
connectionType
- The connectionType
, as provided to the underlying Glue library. This node type supports the
following connection types:
opensearch
azuresql
azurecosmos
bigquery
saphana
teradata
vertica
public String getConnectionType()
The connectionType
, as provided to the underlying Glue library. This node type supports the
following connection types:
opensearch
azuresql
azurecosmos
bigquery
saphana
teradata
vertica
connectionType
, as provided to the underlying Glue library. This node type supports the
following connection types:
opensearch
azuresql
azurecosmos
bigquery
saphana
teradata
vertica
public ConnectorDataSource withConnectionType(String connectionType)
The connectionType
, as provided to the underlying Glue library. This node type supports the
following connection types:
opensearch
azuresql
azurecosmos
bigquery
saphana
teradata
vertica
connectionType
- The connectionType
, as provided to the underlying Glue library. This node type supports the
following connection types:
opensearch
azuresql
azurecosmos
bigquery
saphana
teradata
vertica
public Map<String,String> getData()
A map specifying connection options for the node. You can find standard connection options for the corresponding connection type in the Connection parameters section of the Glue documentation.
public void setData(Map<String,String> data)
A map specifying connection options for the node. You can find standard connection options for the corresponding connection type in the Connection parameters section of the Glue documentation.
data
- A map specifying connection options for the node. You can find standard connection options for the
corresponding connection type in the Connection
parameters section of the Glue documentation.public ConnectorDataSource withData(Map<String,String> data)
A map specifying connection options for the node. You can find standard connection options for the corresponding connection type in the Connection parameters section of the Glue documentation.
data
- A map specifying connection options for the node. You can find standard connection options for the
corresponding connection type in the Connection
parameters section of the Glue documentation.public ConnectorDataSource addDataEntry(String key, String value)
public ConnectorDataSource clearDataEntries()
public List<GlueSchema> getOutputSchemas()
Specifies the data schema for this source.
public void setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for this source.
outputSchemas
- Specifies the data schema for this source.public ConnectorDataSource withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for this 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 this source.public ConnectorDataSource withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for this source.
outputSchemas
- Specifies the data schema for this source.public String toString()
toString
in class Object
Object.toString()
public ConnectorDataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.