Interface AthenaConnectorSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AthenaConnectorSource.Builder,
,AthenaConnectorSource> SdkBuilder<AthenaConnectorSource.Builder,
,AthenaConnectorSource> SdkPojo
- Enclosing class:
AthenaConnectorSource
-
Method Summary
Modifier and TypeMethodDescriptionconnectionName
(String connectionName) The name of the connection that is associated with the connector.connectionTable
(String connectionTable) The name of the table in the data source.connectionType
(String connectionType) The type of connection, such as marketplace.athena or custom.athena, designating a connection to an Amazon Athena data store.connectorName
(String connectorName) The name of a connector that assists with accessing the data store in Glue Studio.The name of the data source.outputSchemas
(Collection<GlueSchema> outputSchemas) Specifies the data schema for the custom Athena source.outputSchemas
(Consumer<GlueSchema.Builder>... outputSchemas) Specifies the data schema for the custom Athena source.outputSchemas
(GlueSchema... outputSchemas) Specifies the data schema for the custom Athena source.schemaName
(String schemaName) The name of the Cloudwatch log group to read from.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the data source.
- Parameters:
name
- The name of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionName
The name of the connection that is associated with the connector.
- Parameters:
connectionName
- The name of the connection that is associated with the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorName
The name of a connector that assists with accessing the data store in Glue Studio.
- Parameters:
connectorName
- The name of a connector that assists with accessing the data store in Glue Studio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionType
The type of connection, such as marketplace.athena or custom.athena, designating a connection to an Amazon Athena data store.
- Parameters:
connectionType
- The type of connection, such as marketplace.athena or custom.athena, designating a connection to an Amazon Athena data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionTable
The name of the table in the data source.
- Parameters:
connectionTable
- The name of the table in the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaName
The name of the Cloudwatch log group to read from. For example,
/aws-glue/jobs/output
.- Parameters:
schemaName
- The name of the Cloudwatch log group to read from. For example,/aws-glue/jobs/output
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the custom Athena source.
- Parameters:
outputSchemas
- Specifies the data schema for the custom Athena source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the custom Athena source.
- Parameters:
outputSchemas
- Specifies the data schema for the custom Athena source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the custom Athena source.
This is a convenience method that creates an instance of theGlueSchema.Builder
avoiding the need to create one manually viaGlueSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputSchemas(List<GlueSchema>)
.- Parameters:
outputSchemas
- a consumer that will call methods onGlueSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-