Interface ImportTableRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ImportTableRequest.Builder,ImportTableRequest>
,DynamoDbRequest.Builder
,SdkBuilder<ImportTableRequest.Builder,ImportTableRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ImportTableRequest
public static interface ImportTableRequest.Builder extends DynamoDbRequest.Builder, SdkPojo, CopyableBuilder<ImportTableRequest.Builder,ImportTableRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImportTableRequest.Builder
clientToken(String clientToken)
Providing aClientToken
makes the call toImportTableInput
idempotent, meaning that multiple identical calls have the same effect as one single call.ImportTableRequest.Builder
inputCompressionType(String inputCompressionType)
Type of compression to be used on the input coming from the imported table.ImportTableRequest.Builder
inputCompressionType(InputCompressionType inputCompressionType)
Type of compression to be used on the input coming from the imported table.ImportTableRequest.Builder
inputFormat(String inputFormat)
The format of the source data.ImportTableRequest.Builder
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,ImportTableRequest.Builder
inputFormatOptions(InputFormatOptions inputFormatOptions)
Additional properties that specify how the input is formatted,ImportTableRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ImportTableRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default ImportTableRequest.Builder
s3BucketSource(Consumer<S3BucketSource.Builder> s3BucketSource)
The S3 bucket that provides the source for the import.ImportTableRequest.Builder
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.ImportTableRequest.Builder
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 Detail
-
clientToken
ImportTableRequest.Builder clientToken(String 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
ImportTableRequest.Builder s3BucketSource(S3BucketSource 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
default ImportTableRequest.Builder s3BucketSource(Consumer<S3BucketSource.Builder> 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:
s3BucketSource(S3BucketSource)
-
inputFormat
ImportTableRequest.Builder inputFormat(String 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
,InputFormat
-
inputFormat
ImportTableRequest.Builder inputFormat(InputFormat 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
,InputFormat
-
inputFormatOptions
ImportTableRequest.Builder inputFormatOptions(InputFormatOptions 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:
inputFormatOptions(InputFormatOptions)
-
inputCompressionType
ImportTableRequest.Builder inputCompressionType(String 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
,InputCompressionType
-
inputCompressionType
ImportTableRequest.Builder inputCompressionType(InputCompressionType 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
,InputCompressionType
-
tableCreationParameters
ImportTableRequest.Builder tableCreationParameters(TableCreationParameters 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:
tableCreationParameters(TableCreationParameters)
-
overrideConfiguration
ImportTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ImportTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-