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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImportTableDescription.Builder
clientToken(String clientToken)
The client token that was provided for the import task.ImportTableDescription.Builder
cloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with the target table.ImportTableDescription.Builder
endTime(Instant endTime)
The time at which the creation of the table associated with this import task completed.ImportTableDescription.Builder
errorCount(Long errorCount)
The number of errors occurred on importing the source file into the target table.ImportTableDescription.Builder
failureCode(String failureCode)
The error code corresponding to the failure that the import job ran into during execution.ImportTableDescription.Builder
failureMessage(String failureMessage)
The error message corresponding to the failure that the import job ran into during execution.ImportTableDescription.Builder
importArn(String importArn)
The Amazon Resource Number (ARN) corresponding to the import request.ImportTableDescription.Builder
importedItemCount(Long importedItemCount)
The number of items successfully imported into the new table.ImportTableDescription.Builder
importStatus(String importStatus)
The status of the import.ImportTableDescription.Builder
importStatus(ImportStatus importStatus)
The status of the import.ImportTableDescription.Builder
inputCompressionType(String inputCompressionType)
The compression options for the data that has been imported into the target table.ImportTableDescription.Builder
inputCompressionType(InputCompressionType inputCompressionType)
The compression options for the data that has been imported into the target table.ImportTableDescription.Builder
inputFormat(String inputFormat)
The format of the source data going into the target table.ImportTableDescription.Builder
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.ImportTableDescription.Builder
inputFormatOptions(InputFormatOptions inputFormatOptions)
The format options for the data that was imported into the target table.ImportTableDescription.Builder
processedItemCount(Long processedItemCount)
The total number of items processed from the source file.ImportTableDescription.Builder
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.ImportTableDescription.Builder
s3BucketSource(S3BucketSource s3BucketSource)
Values for the S3 bucket the source file is imported from.ImportTableDescription.Builder
startTime(Instant startTime)
The time when this import task started.ImportTableDescription.Builder
tableArn(String tableArn)
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.ImportTableDescription.Builder
tableCreationParameters(TableCreationParameters tableCreationParameters)
The parameters for the new table that is being imported into.ImportTableDescription.Builder
tableId(String tableId)
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 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.
-
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
,ImportStatus
-
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:
ImportStatus
,ImportStatus
-
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 toImportTable
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 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:
s3BucketSource(S3BucketSource)
-
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.
-
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:
inputFormatOptions(InputFormatOptions)
-
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.
-
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:
tableCreationParameters(TableCreationParameters)
-
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.
-
-