@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AthenaConnectorSource extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a connector to an Amazon Athena data source.
Constructor and Description |
---|
AthenaConnectorSource() |
Modifier and Type | Method and Description |
---|---|
AthenaConnectorSource |
clone() |
boolean |
equals(Object obj) |
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.athena or custom.athena, designating a connection to an Amazon Athena
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 Athena source.
|
String |
getSchemaName()
The name of the Cloudwatch log group to read from.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.athena or custom.athena, designating a connection to an Amazon Athena
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 Athena source.
|
void |
setSchemaName(String schemaName)
The name of the Cloudwatch log group to read from.
|
String |
toString()
Returns a string representation of this object.
|
AthenaConnectorSource |
withConnectionName(String connectionName)
The name of the connection that is associated with the connector.
|
AthenaConnectorSource |
withConnectionTable(String connectionTable)
The name of the table in the data source.
|
AthenaConnectorSource |
withConnectionType(String connectionType)
The type of connection, such as marketplace.athena or custom.athena, designating a connection to an Amazon Athena
data store.
|
AthenaConnectorSource |
withConnectorName(String connectorName)
The name of a connector that assists with accessing the data store in Glue Studio.
|
AthenaConnectorSource |
withName(String name)
The name of the data source.
|
AthenaConnectorSource |
withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom Athena source.
|
AthenaConnectorSource |
withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the custom Athena source.
|
AthenaConnectorSource |
withSchemaName(String schemaName)
The name of the Cloudwatch log group to read 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 AthenaConnectorSource 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 AthenaConnectorSource 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 AthenaConnectorSource 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.athena or custom.athena, designating a connection to an Amazon Athena data store.
connectionType
- The type of connection, such as marketplace.athena or custom.athena, designating a connection to an Amazon
Athena data store.public String getConnectionType()
The type of connection, such as marketplace.athena or custom.athena, designating a connection to an Amazon Athena data store.
public AthenaConnectorSource withConnectionType(String connectionType)
The type of connection, such as marketplace.athena or custom.athena, designating a connection to an Amazon Athena data store.
connectionType
- The type of connection, such as marketplace.athena or custom.athena, designating a connection to an Amazon
Athena data store.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 AthenaConnectorSource withConnectionTable(String connectionTable)
The name of the table in the data source.
connectionTable
- The name of the table in the data source.public void setSchemaName(String schemaName)
The name of the Cloudwatch log group to read from. For example, /aws-glue/jobs/output
.
schemaName
- The name of the Cloudwatch log group to read from. For example, /aws-glue/jobs/output
.public String getSchemaName()
The name of the Cloudwatch log group to read from. For example, /aws-glue/jobs/output
.
/aws-glue/jobs/output
.public AthenaConnectorSource withSchemaName(String schemaName)
The name of the Cloudwatch log group to read from. For example, /aws-glue/jobs/output
.
schemaName
- The name of the Cloudwatch log group to read from. For example, /aws-glue/jobs/output
.public List<GlueSchema> getOutputSchemas()
Specifies the data schema for the custom Athena source.
public void setOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom Athena source.
outputSchemas
- Specifies the data schema for the custom Athena source.public AthenaConnectorSource withOutputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the custom Athena 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 Athena source.public AthenaConnectorSource withOutputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the custom Athena source.
outputSchemas
- Specifies the data schema for the custom Athena source.public String toString()
toString
in class Object
Object.toString()
public AthenaConnectorSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.