@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SparkConnectorSource extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a connector to an Apache Spark data source.
Constructor and Description |
---|
SparkConnectorSource() |
Modifier and Type | Method and Description |
---|---|
SparkConnectorSource |
addAdditionalOptionsEntry(String key,
String value)
Add a single AdditionalOptions entry
|
SparkConnectorSource |
clearAdditionalOptionsEntries()
Removes all the entries added into AdditionalOptions.
|
SparkConnectorSource |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalOptions()
Additional connection options for the connector.
|
String |
getConnectionName()
The name of the connection that is associated with the 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 a connector that assists with accessing the data store in Glue Studio.
|
String |
getName()
The name of the data source.
|
List<GlueSchema> |
getOutputSchemas()
Specifies data schema for the custom spark source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalOptions(Map<String,String> additionalOptions)
Additional connection options for the connector.
|
void |
setConnectionName(String connectionName)
The name of the connection that is associated with the 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 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 data schema for the custom spark source.
|
String |
toString()
Returns a string representation of this object.
|
SparkConnectorSource |
withAdditionalOptions(Map<String,String> additionalOptions)
Additional connection options for the connector.
|
SparkConnectorSource |
withConnectionName(String connectionName)
The name of the connection that is associated with the connector.
|
SparkConnectorSource |
withConnectionType(String connectionType)
The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark
data store.
|
SparkConnectorSource |
withConnectorName(String connectorName)
The name of a connector that assists with accessing the data store in Glue Studio.
|
SparkConnectorSource |
withName(String name)
The name of the data source.
|
SparkConnectorSource |
withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies data schema for the custom spark source.
|
SparkConnectorSource |
withOutputSchemas(GlueSchema... outputSchemas)
Specifies data schema for the custom spark source.
|
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 SparkConnectorSource 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 SparkConnectorSource 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 SparkConnectorSource 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.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 SparkConnectorSource 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 SparkConnectorSource withAdditionalOptions(Map<String,String> additionalOptions)
Additional connection options for the connector.
additionalOptions
- Additional connection options for the connector.public SparkConnectorSource addAdditionalOptionsEntry(String key, String value)
public SparkConnectorSource clearAdditionalOptionsEntries()
public List<GlueSchema> getOutputSchemas()
Specifies data schema for the custom spark source.
public void setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies data schema for the custom spark source.
outputSchemas
- Specifies data schema for the custom spark source.public SparkConnectorSource withOutputSchemas(GlueSchema... outputSchemas)
Specifies data schema for the custom spark 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 data schema for the custom spark source.public SparkConnectorSource withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies data schema for the custom spark source.
outputSchemas
- Specifies data schema for the custom spark source.public String toString()
toString
in class Object
Object.toString()
public SparkConnectorSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.