@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SparkConnectorTarget extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a target that uses an Apache Spark connector.
Constructor and Description |
---|
SparkConnectorTarget() |
Modifier and Type | Method and Description |
---|---|
SparkConnectorTarget |
addAdditionalOptionsEntry(String key,
String value)
Add a single AdditionalOptions entry
|
SparkConnectorTarget |
clearAdditionalOptionsEntries()
Removes all the entries added into AdditionalOptions.
|
SparkConnectorTarget |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalOptions()
Additional connection options for the connector.
|
String |
getConnectionName()
The name of a connection for an Apache Spark connector.
|
String |
getConnectionType()
The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark
data store.
|
String |
getConnectorName()
The name of an Apache Spark connector.
|
List<String> |
getInputs()
The nodes that are inputs to the data target.
|
String |
getName()
The name of the data target.
|
List<GlueSchema> |
getOutputSchemas()
Specifies the data schema for the custom spark target.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAdditionalOptions(Map<String,String> additionalOptions)
Additional connection options for the connector.
|
void |
setConnectionName(String connectionName)
The name of a connection for an Apache Spark connector.
|
void |
setConnectionType(String connectionType)
The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark
data store.
|
void |
setConnectorName(String connectorName)
The name of an Apache Spark connector.
|
void |
setInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
|
void |
setName(String name)
The name of the data target.
|
void |
setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom spark target.
|
String |
toString()
Returns a string representation of this object.
|
SparkConnectorTarget |
withAdditionalOptions(Map<String,String> additionalOptions)
Additional connection options for the connector.
|
SparkConnectorTarget |
withConnectionName(String connectionName)
The name of a connection for an Apache Spark connector.
|
SparkConnectorTarget |
withConnectionType(String connectionType)
The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark
data store.
|
SparkConnectorTarget |
withConnectorName(String connectorName)
The name of an Apache Spark connector.
|
SparkConnectorTarget |
withInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
|
SparkConnectorTarget |
withInputs(String... inputs)
The nodes that are inputs to the data target.
|
SparkConnectorTarget |
withName(String name)
The name of the data target.
|
SparkConnectorTarget |
withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom spark target.
|
SparkConnectorTarget |
withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the custom spark target.
|
public void setName(String name)
The name of the data target.
name
- The name of the data target.public String getName()
The name of the data target.
public SparkConnectorTarget withName(String name)
The name of the data target.
name
- The name of the 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 SparkConnectorTarget 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 SparkConnectorTarget 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 setConnectionName(String connectionName)
The name of a connection for an Apache Spark connector.
connectionName
- The name of a connection for an Apache Spark connector.public String getConnectionName()
The name of a connection for an Apache Spark connector.
public SparkConnectorTarget withConnectionName(String connectionName)
The name of a connection for an Apache Spark connector.
connectionName
- The name of a connection for an Apache Spark connector.public void setConnectorName(String connectorName)
The name of an Apache Spark connector.
connectorName
- The name of an Apache Spark connector.public String getConnectorName()
The name of an Apache Spark connector.
public SparkConnectorTarget withConnectorName(String connectorName)
The name of an Apache Spark connector.
connectorName
- The name of an Apache Spark connector.public void setConnectionType(String connectionType)
The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark data store.
connectionType
- The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache
Spark data store.public String getConnectionType()
The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark data store.
public SparkConnectorTarget withConnectionType(String connectionType)
The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark data store.
connectionType
- The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache
Spark data store.public Map<String,String> getAdditionalOptions()
Additional connection options for the connector.
public void setAdditionalOptions(Map<String,String> additionalOptions)
Additional connection options for the connector.
additionalOptions
- Additional connection options for the connector.public SparkConnectorTarget withAdditionalOptions(Map<String,String> additionalOptions)
Additional connection options for the connector.
additionalOptions
- Additional connection options for the connector.public SparkConnectorTarget addAdditionalOptionsEntry(String key, String value)
public SparkConnectorTarget clearAdditionalOptionsEntries()
public List<GlueSchema> getOutputSchemas()
Specifies the data schema for the custom spark target.
public void setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom spark target.
outputSchemas
- Specifies the data schema for the custom spark target.public SparkConnectorTarget withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the custom spark target.
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 spark target.public SparkConnectorTarget withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom spark target.
outputSchemas
- Specifies the data schema for the custom spark target.public String toString()
toString
in class Object
Object.toString()
public SparkConnectorTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.