Class ImportTableDescription
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ImportTableDescription.Builder,
ImportTableDescription>
Represents the properties of the table being imported into.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final String
The client token that was provided for the import task.final String
The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with the target table.final Instant
endTime()
The time at which the creation of the table associated with this import task completed.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Long
The number of errors occurred on importing the source file into the target table.final String
The error code corresponding to the failure that the import job ran into during execution.final String
The error message corresponding to the failure that the import job ran into during execution.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The Amazon Resource Number (ARN) corresponding to the import request.final Long
The number of items successfully imported into the new table.final ImportStatus
The status of the import.final String
The status of the import.final InputCompressionType
The compression options for the data that has been imported into the target table.final String
The compression options for the data that has been imported into the target table.final InputFormat
The format of the source data going into the target table.final String
The format of the source data going into the target table.final InputFormatOptions
The format options for the data that was imported into the target table.final Long
The total number of items processed from the source file.final Long
The total size of data processed from the source file, in Bytes.final S3BucketSource
Values for the S3 bucket the source file is imported from.static Class
<? extends ImportTableDescription.Builder> final Instant
The time when this import task started.final String
tableArn()
The Amazon Resource Number (ARN) of the table being imported into.final TableCreationParameters
The parameters for the new table that is being imported into.final String
tableId()
The table id corresponding to the table created by import table process.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
importArn
The Amazon Resource Number (ARN) corresponding to the import request.
- Returns:
- The Amazon Resource Number (ARN) corresponding to the import request.
-
importStatus
The status of the import.
If the service returns an enum value that is not available in the current SDK version,
importStatus
will returnImportStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromimportStatusAsString()
.- Returns:
- The status of the import.
- See Also:
-
importStatusAsString
The status of the import.
If the service returns an enum value that is not available in the current SDK version,
importStatus
will returnImportStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromimportStatusAsString()
.- Returns:
- The status of the import.
- See Also:
-
tableArn
The Amazon Resource Number (ARN) of the table being imported into.
- Returns:
- The Amazon Resource Number (ARN) of the table being imported into.
-
tableId
The table id corresponding to the table created by import table process.
- Returns:
- The table id corresponding to the table created by import table process.
-
clientToken
The client token that was provided for the import task. Reusing the client token on retry makes a call to
ImportTable
idempotent.- Returns:
- The client token that was provided for the import task. Reusing the client token on retry makes a call to
ImportTable
idempotent.
-
s3BucketSource
Values for the S3 bucket the source file is imported from. Includes bucket name (required), key prefix (optional) and bucket account owner ID (optional).
- Returns:
- Values for the S3 bucket the source file is imported from. Includes bucket name (required), key prefix (optional) and bucket account owner ID (optional).
-
errorCount
The number of errors occurred on importing the source file into the target table.
- Returns:
- The number of errors occurred on importing the source file into the target table.
-
cloudWatchLogGroupArn
The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with the target table.
- Returns:
- The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with the target table.
-
inputFormat
The format of the source data going into the target table.
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 going into the target table.
- See Also:
-
inputFormatAsString
The format of the source data going into the target table.
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 going into the target table.
- See Also:
-
inputFormatOptions
The format options for the data that was imported into the target table. There is one value, CsvOption.
- Returns:
- The format options for the data that was imported into the target table. There is one value, CsvOption.
-
inputCompressionType
The compression options for the data that has been imported into the target table. The values are NONE, GZIP, or ZSTD.
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:
- The compression options for the data that has been imported into the target table. The values are NONE, GZIP, or ZSTD.
- See Also:
-
inputCompressionTypeAsString
The compression options for the data that has been imported into the target table. The values are NONE, GZIP, or ZSTD.
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:
- The compression options for the data that has been imported into the target table. The values are NONE, GZIP, or ZSTD.
- See Also:
-
tableCreationParameters
The parameters for the new table that is being imported into.
- Returns:
- The parameters for the new table that is being imported into.
-
startTime
The time when this import task started.
- Returns:
- The time when this import task started.
-
endTime
The time at which the creation of the table associated with this import task completed.
- Returns:
- The time at which the creation of the table associated with this import task completed.
-
processedSizeBytes
The total size of data processed from the source file, in Bytes.
- Returns:
- The total size of data processed from the source file, in Bytes.
-
processedItemCount
The total number of items processed from the source file.
- Returns:
- The total number of items processed from the source file.
-
importedItemCount
The number of items successfully imported into the new table.
- Returns:
- The number of items successfully imported into the new table.
-
failureCode
The error code corresponding to the failure that the import job ran into during execution.
- Returns:
- The error code corresponding to the failure that the import job ran into during execution.
-
failureMessage
The error message corresponding to the failure that the import job ran into during execution.
- Returns:
- The error message corresponding to the failure that the import job ran into during execution.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ImportTableDescription.Builder,
ImportTableDescription> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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
-
sdkFields
-