Interface AthenaConnectorSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AthenaConnectorSource.Builder,AthenaConnectorSource>,SdkBuilder<AthenaConnectorSource.Builder,AthenaConnectorSource>,SdkPojo
- Enclosing class:
- AthenaConnectorSource
public static interface AthenaConnectorSource.Builder extends SdkPojo, CopyableBuilder<AthenaConnectorSource.Builder,AthenaConnectorSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AthenaConnectorSource.BuilderconnectionName(String connectionName)The name of the connection that is associated with the connector.AthenaConnectorSource.BuilderconnectionTable(String connectionTable)The name of the table in the data source.AthenaConnectorSource.BuilderconnectionType(String connectionType)The type of connection, such as marketplace.athena or custom.athena, designating a connection to an Amazon Athena data store.AthenaConnectorSource.BuilderconnectorName(String connectorName)The name of a connector that assists with accessing the data store in Glue Studio.AthenaConnectorSource.Buildername(String name)The name of the data source.AthenaConnectorSource.BuilderoutputSchemas(Collection<GlueSchema> outputSchemas)Specifies the data schema for the custom Athena source.AthenaConnectorSource.BuilderoutputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)Specifies the data schema for the custom Athena source.AthenaConnectorSource.BuilderoutputSchemas(GlueSchema... outputSchemas)Specifies the data schema for the custom Athena source.AthenaConnectorSource.BuilderschemaName(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
AthenaConnectorSource.Builder name(String 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
AthenaConnectorSource.Builder connectionName(String 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
AthenaConnectorSource.Builder connectorName(String 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
AthenaConnectorSource.Builder connectionType(String 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
AthenaConnectorSource.Builder connectionTable(String 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
AthenaConnectorSource.Builder schemaName(String 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
AthenaConnectorSource.Builder outputSchemas(Collection<GlueSchema> 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
AthenaConnectorSource.Builder outputSchemas(GlueSchema... 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
AthenaConnectorSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
Specifies the data schema for the custom Athena source.
This is a convenience method that creates an instance of theGlueSchema.Builderavoiding the need to create one manually viaGlueSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputSchemas(List.) - 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:
#outputSchemas(java.util.Collection)
-
-