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 Details

    • glueConnectionName

      DatabaseInputDefinition.Builder glueConnectionName(String 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

      DatabaseInputDefinition.Builder databaseTableName(String 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

      DatabaseInputDefinition.Builder tempDirectory(S3Location 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

      default DatabaseInputDefinition.Builder tempDirectory(Consumer<S3Location.Builder> tempDirectory)
      Sets the value of the TempDirectory property for this object. This is a convenience method that creates an instance of the S3Location.Builder avoiding the need to create one manually via S3Location.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tempDirectory(S3Location).

      Parameters:
      tempDirectory - a consumer that will call methods on S3Location.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queryString

      DatabaseInputDefinition.Builder queryString(String 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.