Interface ImportTableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ImportTableRequest.Builder,
,ImportTableRequest> DynamoDbRequest.Builder
,SdkBuilder<ImportTableRequest.Builder,
,ImportTableRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ImportTableRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Providing aClientToken
makes the call toImportTableInput
idempotent, meaning that multiple identical calls have the same effect as one single call.inputCompressionType
(String inputCompressionType) Type of compression to be used on the input coming from the imported table.inputCompressionType
(InputCompressionType inputCompressionType) Type of compression to be used on the input coming from the imported table.inputFormat
(String inputFormat) The format of the source data.inputFormat
(InputFormat inputFormat) The format of the source data.default ImportTableRequest.Builder
inputFormatOptions
(Consumer<InputFormatOptions.Builder> inputFormatOptions) Additional properties that specify how the input is formatted,inputFormatOptions
(InputFormatOptions inputFormatOptions) Additional properties that specify how the input is formatted,overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default ImportTableRequest.Builder
s3BucketSource
(Consumer<S3BucketSource.Builder> s3BucketSource) The S3 bucket that provides the source for the import.s3BucketSource
(S3BucketSource s3BucketSource) The S3 bucket that provides the source for the import.default ImportTableRequest.Builder
tableCreationParameters
(Consumer<TableCreationParameters.Builder> tableCreationParameters) Parameters for the table to import the data into.tableCreationParameters
(TableCreationParameters tableCreationParameters) Parameters for the table to import the data into.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
build
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
-
clientToken
Providing a
ClientToken
makes the call toImportTableInput
idempotent, meaning that multiple identical calls have the same effect as one single call.A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent.
If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an
IdempotentParameterMismatch
exception.- Parameters:
clientToken
- Providing aClientToken
makes the call toImportTableInput
idempotent, meaning that multiple identical calls have the same effect as one single call.A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent.
If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, DynamoDB returns an
IdempotentParameterMismatch
exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketSource
The S3 bucket that provides the source for the import.
- Parameters:
s3BucketSource
- The S3 bucket that provides the source for the import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketSource
The S3 bucket that provides the source for the import.
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:
-
inputFormat
The format of the source data. Valid values for
ImportFormat
areCSV
,DYNAMODB_JSON
orION
.- Parameters:
inputFormat
- The format of the source data. Valid values forImportFormat
areCSV
,DYNAMODB_JSON
orION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputFormat
The format of the source data. Valid values for
ImportFormat
areCSV
,DYNAMODB_JSON
orION
.- Parameters:
inputFormat
- The format of the source data. Valid values forImportFormat
areCSV
,DYNAMODB_JSON
orION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputFormatOptions
Additional properties that specify how the input is formatted,
- Parameters:
inputFormatOptions
- Additional properties that specify how the input is formatted,- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputFormatOptions
default ImportTableRequest.Builder inputFormatOptions(Consumer<InputFormatOptions.Builder> inputFormatOptions) Additional properties that specify how the input is formatted,
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
Type of compression to be used on the input coming from the imported table.
- Parameters:
inputCompressionType
- Type of compression to be used on the input coming from the imported table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputCompressionType
Type of compression to be used on the input coming from the imported table.
- Parameters:
inputCompressionType
- Type of compression to be used on the input coming from the imported table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tableCreationParameters
Parameters for the table to import the data into.
- Parameters:
tableCreationParameters
- Parameters for the table to import the data into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableCreationParameters
default ImportTableRequest.Builder tableCreationParameters(Consumer<TableCreationParameters.Builder> tableCreationParameters) Parameters for the table to import the data 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:
-
overrideConfiguration
ImportTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ImportTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-