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 interfaceImportTableRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportTableRequest.Builderbuilder()StringclientToken()Providing aClientTokenmakes the call toImportTableInputidempotent, meaning that multiple identical calls have the same effect as one single call.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InputCompressionTypeinputCompressionType()Type of compression to be used on the input coming from the imported table.StringinputCompressionTypeAsString()Type of compression to be used on the input coming from the imported table.InputFormatinputFormat()The format of the source data.StringinputFormatAsString()The format of the source data.InputFormatOptionsinputFormatOptions()Additional properties that specify how the input is formatted,S3BucketSources3BucketSource()The S3 bucket that provides the source for the import.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ImportTableRequest.Builder>serializableBuilderClass()TableCreationParameterstableCreationParameters()Parameters for the table to import the data into.ImportTableRequest.BuildertoBuilder()StringtoString()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
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.- Returns:
- 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.
-
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
ImportFormatareCSV,DYNAMODB_JSONorION.If the service returns an enum value that is not available in the current SDK version,
inputFormatwill 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
ImportFormatareCSV,DYNAMODB_JSONorION. - See Also:
InputFormat
-
inputFormatAsString
public final String inputFormatAsString()
The format of the source data. Valid values for
ImportFormatareCSV,DYNAMODB_JSONorION.If the service returns an enum value that is not available in the current SDK version,
inputFormatwill 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
ImportFormatareCSV,DYNAMODB_JSONorION. - 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,
inputCompressionTypewill 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,
inputCompressionTypewill 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:
toBuilderin interfaceToCopyableBuilder<ImportTableRequest.Builder,ImportTableRequest>- Specified by:
toBuilderin classDynamoDbRequest
-
builder
public static ImportTableRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImportTableRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-