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 aClientTokenmakes the call toImportTableInputidempotent, 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.BuilderinputFormatOptions(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.Builders3BucketSource(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.BuildertableCreationParameters(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clientToken
Providing a
ClientTokenmakes the call toImportTableInputidempotent, 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
IdempotentParameterMismatchexception.- Parameters:
clientToken- Providing aClientTokenmakes the call toImportTableInputidempotent, 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
IdempotentParameterMismatchexception.- 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.Builderavoiding the need to create one manually viaS3BucketSource.builder().When the
Consumercompletes,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
ImportFormatareCSV,DYNAMODB_JSONorION.- Parameters:
inputFormat- The format of the source data. Valid values forImportFormatareCSV,DYNAMODB_JSONorION.- 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
ImportFormatareCSV,DYNAMODB_JSONorION.- Parameters:
inputFormat- The format of the source data. Valid values forImportFormatareCSV,DYNAMODB_JSONorION.- 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.Builderavoiding the need to create one manually viaInputFormatOptions.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTableCreationParameters.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-