Class ImportTableRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest
-
- software.amazon.awssdk.services.dynamodb.model.ImportTableRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<ImportTableRequest.Builder,ImportTableRequest>
@Generated("software.amazon.awssdk:codegen") public final class ImportTableRequest extends DynamoDbRequest implements ToCopyableBuilder<ImportTableRequest.Builder,ImportTableRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ImportTableRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportTableRequest.Builder
builder()
String
clientToken()
Providing aClientToken
makes the call toImportTableInput
idempotent, meaning that multiple identical calls have the same effect as one single call.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
InputCompressionType
inputCompressionType()
Type of compression to be used on the input coming from the imported table.String
inputCompressionTypeAsString()
Type of compression to be used on the input coming from the imported table.InputFormat
inputFormat()
The format of the source data.String
inputFormatAsString()
The format of the source data.InputFormatOptions
inputFormatOptions()
Additional properties that specify how the input is formatted,S3BucketSource
s3BucketSource()
The S3 bucket that provides the source for the import.List<SdkField<?>>
sdkFields()
static Class<? extends ImportTableRequest.Builder>
serializableBuilderClass()
TableCreationParameters
tableCreationParameters()
Parameters for the table to import the data into.ImportTableRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clientToken
public final 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.- Returns:
- 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.
-
s3BucketSource
public final S3BucketSource s3BucketSource()
The S3 bucket that provides the source for the import.
- Returns:
- The S3 bucket that provides the source for the import.
-
inputFormat
public final InputFormat inputFormat()
The format of the source data. Valid values for
ImportFormat
areCSV
,DYNAMODB_JSON
orION
.If the service returns an enum value that is not available in the current SDK version,
inputFormat
will returnInputFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominputFormatAsString()
.- Returns:
- The format of the source data. Valid values for
ImportFormat
areCSV
,DYNAMODB_JSON
orION
. - See Also:
InputFormat
-
inputFormatAsString
public final String inputFormatAsString()
The format of the source data. Valid values for
ImportFormat
areCSV
,DYNAMODB_JSON
orION
.If the service returns an enum value that is not available in the current SDK version,
inputFormat
will returnInputFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominputFormatAsString()
.- Returns:
- The format of the source data. Valid values for
ImportFormat
areCSV
,DYNAMODB_JSON
orION
. - See Also:
InputFormat
-
inputFormatOptions
public final InputFormatOptions inputFormatOptions()
Additional properties that specify how the input is formatted,
- Returns:
- Additional properties that specify how the input is formatted,
-
inputCompressionType
public final InputCompressionType inputCompressionType()
Type of compression to be used on the input coming from the imported table.
If the service returns an enum value that is not available in the current SDK version,
inputCompressionType
will returnInputCompressionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominputCompressionTypeAsString()
.- Returns:
- Type of compression to be used on the input coming from the imported table.
- See Also:
InputCompressionType
-
inputCompressionTypeAsString
public final String inputCompressionTypeAsString()
Type of compression to be used on the input coming from the imported table.
If the service returns an enum value that is not available in the current SDK version,
inputCompressionType
will returnInputCompressionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominputCompressionTypeAsString()
.- Returns:
- Type of compression to be used on the input coming from the imported table.
- See Also:
InputCompressionType
-
tableCreationParameters
public final TableCreationParameters tableCreationParameters()
Parameters for the table to import the data into.
- Returns:
- Parameters for the table to import the data into.
-
toBuilder
public ImportTableRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ImportTableRequest.Builder,ImportTableRequest>
- Specified by:
toBuilder
in classDynamoDbRequest
-
builder
public static ImportTableRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImportTableRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-