Interface ImportTableDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImportTableDescription.Builder,
,ImportTableDescription> SdkBuilder<ImportTableDescription.Builder,
,ImportTableDescription> SdkPojo
- Enclosing class:
ImportTableDescription
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The client token that was provided for the import task.cloudWatchLogGroupArn
(String cloudWatchLogGroupArn) The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with the target table.The time at which the creation of the table associated with this import task completed.errorCount
(Long errorCount) The number of errors occurred on importing the source file into the target table.failureCode
(String failureCode) The error code corresponding to the failure that the import job ran into during execution.failureMessage
(String failureMessage) The error message corresponding to the failure that the import job ran into during execution.The Amazon Resource Number (ARN) corresponding to the import request.importedItemCount
(Long importedItemCount) The number of items successfully imported into the new table.importStatus
(String importStatus) The status of the import.importStatus
(ImportStatus importStatus) The status of the import.inputCompressionType
(String inputCompressionType) The compression options for the data that has been imported into the target table.inputCompressionType
(InputCompressionType inputCompressionType) The compression options for the data that has been imported into the target table.inputFormat
(String inputFormat) The format of the source data going into the target table.inputFormat
(InputFormat inputFormat) The format of the source data going into the target table.default ImportTableDescription.Builder
inputFormatOptions
(Consumer<InputFormatOptions.Builder> inputFormatOptions) The format options for the data that was imported into the target table.inputFormatOptions
(InputFormatOptions inputFormatOptions) The format options for the data that was imported into the target table.processedItemCount
(Long processedItemCount) The total number of items processed from the source file.processedSizeBytes
(Long processedSizeBytes) The total size of data processed from the source file, in Bytes.default ImportTableDescription.Builder
s3BucketSource
(Consumer<S3BucketSource.Builder> s3BucketSource) Values for the S3 bucket the source file is imported from.s3BucketSource
(S3BucketSource s3BucketSource) Values for the S3 bucket the source file is imported from.The time when this import task started.The Amazon Resource Number (ARN) of the table being imported into.default ImportTableDescription.Builder
tableCreationParameters
(Consumer<TableCreationParameters.Builder> tableCreationParameters) The parameters for the new table that is being imported into.tableCreationParameters
(TableCreationParameters tableCreationParameters) The parameters for the new table that is being imported into.The table id corresponding to the table created by import table process.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
-
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
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
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
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 toImportTable
idempotent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theS3BucketSource.Builder
avoiding the need to create one manually viaS3BucketSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3BucketSource(S3BucketSource)
.- Parameters:
s3BucketSource
- a consumer that will call methods onS3BucketSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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 theInputFormatOptions.Builder
avoiding the need to create one manually viaInputFormatOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputFormatOptions(InputFormatOptions)
.- Parameters:
inputFormatOptions
- a consumer that will call methods onInputFormatOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theTableCreationParameters.Builder
avoiding the need to create one manually viaTableCreationParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totableCreationParameters(TableCreationParameters)
.- Parameters:
tableCreationParameters
- a consumer that will call methods onTableCreationParameters.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
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
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
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
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
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.
-