Interface ImportTableDescription.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ImportTableDescription.Builder,ImportTableDescription>, SdkBuilder<ImportTableDescription.Builder,ImportTableDescription>, SdkPojo
Enclosing class:
ImportTableDescription

public static interface ImportTableDescription.Builder extends SdkPojo, CopyableBuilder<ImportTableDescription.Builder,ImportTableDescription>
  • Method Details

    • importArn

      ImportTableDescription.Builder importArn(String importArn)

      The Amazon Resource Number (ARN) corresponding to the import request.

      Parameters:
      importArn - The Amazon Resource Number (ARN) corresponding to the import request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importStatus

      ImportTableDescription.Builder importStatus(String importStatus)

      The status of the import.

      Parameters:
      importStatus - The status of the import.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • importStatus

      ImportTableDescription.Builder importStatus(ImportStatus importStatus)

      The status of the import.

      Parameters:
      importStatus - The status of the import.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tableArn

      The Amazon Resource Number (ARN) of the table being imported into.

      Parameters:
      tableArn - The Amazon Resource Number (ARN) of the table being imported into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tableId

      The table id corresponding to the table created by import table process.

      Parameters:
      tableId - The table id corresponding to the table created by import table process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      ImportTableDescription.Builder clientToken(String clientToken)

      The client token that was provided for the import task. Reusing the client token on retry makes a call to ImportTable idempotent.

      Parameters:
      clientToken - The client token that was provided for the import task. Reusing the client token on retry makes a call to ImportTable idempotent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3BucketSource

      ImportTableDescription.Builder s3BucketSource(S3BucketSource s3BucketSource)

      Values for the S3 bucket the source file is imported from. Includes bucket name (required), key prefix (optional) and bucket account owner ID (optional).

      Parameters:
      s3BucketSource - Values for the S3 bucket the source file is imported from. Includes bucket name (required), key prefix (optional) and bucket account owner ID (optional).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3BucketSource

      default ImportTableDescription.Builder s3BucketSource(Consumer<S3BucketSource.Builder> s3BucketSource)

      Values for the S3 bucket the source file is imported from. Includes bucket name (required), key prefix (optional) and bucket account owner ID (optional).

      This is a convenience method that creates an instance of the S3BucketSource.Builder avoiding the need to create one manually via S3BucketSource.builder().

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

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

      ImportTableDescription.Builder errorCount(Long errorCount)

      The number of errors occurred on importing the source file into the target table.

      Parameters:
      errorCount - The number of errors occurred on importing the source file into the target table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudWatchLogGroupArn

      ImportTableDescription.Builder cloudWatchLogGroupArn(String cloudWatchLogGroupArn)

      The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with the target table.

      Parameters:
      cloudWatchLogGroupArn - The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with the target table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputFormat

      ImportTableDescription.Builder inputFormat(String inputFormat)

      The format of the source data going into the target table.

      Parameters:
      inputFormat - The format of the source data going into the target table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputFormat

      ImportTableDescription.Builder inputFormat(InputFormat inputFormat)

      The format of the source data going into the target table.

      Parameters:
      inputFormat - The format of the source data going into the target table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputFormatOptions

      ImportTableDescription.Builder inputFormatOptions(InputFormatOptions inputFormatOptions)

      The format options for the data that was imported into the target table. There is one value, CsvOption.

      Parameters:
      inputFormatOptions - The format options for the data that was imported into the target table. There is one value, CsvOption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputFormatOptions

      default ImportTableDescription.Builder inputFormatOptions(Consumer<InputFormatOptions.Builder> inputFormatOptions)

      The format options for the data that was imported into the target table. There is one value, CsvOption.

      This is a convenience method that creates an instance of the InputFormatOptions.Builder avoiding the need to create one manually via InputFormatOptions.builder().

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

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

      ImportTableDescription.Builder inputCompressionType(String inputCompressionType)

      The compression options for the data that has been imported into the target table. The values are NONE, GZIP, or ZSTD.

      Parameters:
      inputCompressionType - The compression options for the data that has been imported into the target table. The values are NONE, GZIP, or ZSTD.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputCompressionType

      ImportTableDescription.Builder inputCompressionType(InputCompressionType inputCompressionType)

      The compression options for the data that has been imported into the target table. The values are NONE, GZIP, or ZSTD.

      Parameters:
      inputCompressionType - The compression options for the data that has been imported into the target table. The values are NONE, GZIP, or ZSTD.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tableCreationParameters

      ImportTableDescription.Builder tableCreationParameters(TableCreationParameters tableCreationParameters)

      The parameters for the new table that is being imported into.

      Parameters:
      tableCreationParameters - The parameters for the new table that is being imported into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tableCreationParameters

      default ImportTableDescription.Builder tableCreationParameters(Consumer<TableCreationParameters.Builder> tableCreationParameters)

      The parameters for the new table that is being imported into.

      This is a convenience method that creates an instance of the TableCreationParameters.Builder avoiding the need to create one manually via TableCreationParameters.builder().

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

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

      The time when this import task started.

      Parameters:
      startTime - The time when this import task started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The time at which the creation of the table associated with this import task completed.

      Parameters:
      endTime - The time at which the creation of the table associated with this import task completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • processedSizeBytes

      ImportTableDescription.Builder processedSizeBytes(Long processedSizeBytes)

      The total size of data processed from the source file, in Bytes.

      Parameters:
      processedSizeBytes - The total size of data processed from the source file, in Bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • processedItemCount

      ImportTableDescription.Builder processedItemCount(Long processedItemCount)

      The total number of items processed from the source file.

      Parameters:
      processedItemCount - The total number of items processed from the source file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importedItemCount

      ImportTableDescription.Builder importedItemCount(Long importedItemCount)

      The number of items successfully imported into the new table.

      Parameters:
      importedItemCount - The number of items successfully imported into the new table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureCode

      ImportTableDescription.Builder failureCode(String failureCode)

      The error code corresponding to the failure that the import job ran into during execution.

      Parameters:
      failureCode - The error code corresponding to the failure that the import job ran into during execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureMessage

      ImportTableDescription.Builder failureMessage(String failureMessage)

      The error message corresponding to the failure that the import job ran into during execution.

      Parameters:
      failureMessage - The error message corresponding to the failure that the import job ran into during execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.