Interface ImportTableDescription.Builder

    • Method Detail

      • 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.
      • tableArn

        ImportTableDescription.Builder tableArn​(String 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

        ImportTableDescription.Builder tableId​(String 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.
      • 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, InputFormat
      • 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:
        InputFormat, InputFormat
      • 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.
      • 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, InputCompressionType
      • 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:
        InputCompressionType, InputCompressionType
      • 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.
      • startTime

        ImportTableDescription.Builder startTime​(Instant 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

        ImportTableDescription.Builder endTime​(Instant 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.