Interface DatabaseInputDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatabaseInputDefinition.Builder,
,DatabaseInputDefinition> SdkBuilder<DatabaseInputDefinition.Builder,
,DatabaseInputDefinition> SdkPojo
- Enclosing class:
DatabaseInputDefinition
public static interface DatabaseInputDefinition.Builder
extends SdkPojo, CopyableBuilder<DatabaseInputDefinition.Builder,DatabaseInputDefinition>
-
Method Summary
Modifier and TypeMethodDescriptiondatabaseTableName
(String databaseTableName) The table within the target database.glueConnectionName
(String glueConnectionName) The Glue Connection that stores the connection information for the target database.queryString
(String queryString) Custom SQL to run against the provided Glue connection.default DatabaseInputDefinition.Builder
tempDirectory
(Consumer<S3Location.Builder> tempDirectory) Sets the value of the TempDirectory property for this object.tempDirectory
(S3Location tempDirectory) Sets the value of the TempDirectory property for this object.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
-
glueConnectionName
The Glue Connection that stores the connection information for the target database.
- Parameters:
glueConnectionName
- The Glue Connection that stores the connection information for the target database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseTableName
The table within the target database.
- Parameters:
databaseTableName
- The table within the target database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tempDirectory
Sets the value of the TempDirectory property for this object.- Parameters:
tempDirectory
- The new value for the TempDirectory property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tempDirectory
Sets the value of the TempDirectory property for this object. This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totempDirectory(S3Location)
.- Parameters:
tempDirectory
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryString
Custom SQL to run against the provided Glue connection. This SQL will be used as the input for DataBrew projects and jobs.
- Parameters:
queryString
- Custom SQL to run against the provided Glue connection. This SQL will be used as the input for DataBrew projects and jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-