Class GetTableMigrationResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetTableMigrationResponse.Builder,GetTableMigrationResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final InstantThe date and time that the migration was created.final DataMigrationOverviewThe maintenance settings and migration policies for the destination table.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final MigrationFailureReasonThe reason that the migration failed.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkResponse.final inthashCode()final BooleanA Boolean value that specifies whether planning produced a plan that the migration can run.final StringThe ID of the migration.final MigrationOutputOverviewThe bucket and prefixes for the migration's reports, and the location of each report once it is written.final MigrationStatsThe number of objects that migrated, failed or are pending.final Stringname()The name of the destination table.final StringThe namespace of the destination table.final PlanningStatsStatistics about the source and the partitions in the migration.final BooleanA Boolean value that specifies whether the migration waits in thependingReviewstate, so that you can review the compatibility reports before it migrates any data.final StringroleARN()The Amazon Resource Name (ARN) of the IAM role that the migration uses.static Class<? extends GetTableMigrationResponse.Builder> final SourceConfigurationsource()The source table of the migration.final MigrationSourceTypeThe type of the migration's source.final StringThe type of the migration's source.final MigrationStatestate()The state of the migration.final StringThe state of the migration.final InstantThe date and time that the migration's state last changed.final StringtableARN()The Amazon Resource Name (ARN) of the destination table, once the migration creates it.final StringThe Amazon Resource Name (ARN) of the table bucket that contains the destination table.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final MigrationTypetype()The type of the migration.final StringThe type of the migration.Methods inherited from class software.amazon.awssdk.services.s3tables.model.S3TablesResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
migrationId
-
tableBucketARN
The Amazon Resource Name (ARN) of the table bucket that contains the destination table.
- Returns:
- The Amazon Resource Name (ARN) of the table bucket that contains the destination table.
-
namespace
The namespace of the destination table.
- Returns:
- The namespace of the destination table.
-
tableARN
The Amazon Resource Name (ARN) of the destination table, once the migration creates it.
- Returns:
- The Amazon Resource Name (ARN) of the destination table, once the migration creates it.
-
name
The name of the destination table.
- Returns:
- The name of the destination table.
-
type
The type of the migration. Valid values:
-
start- A migration thatStartTableMigrationstarted. -
sync- A migration thatSyncTableMigrationstarted.
If the service returns an enum value that is not available in the current SDK version,
typewill returnMigrationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the migration. Valid values:
-
start- A migration thatStartTableMigrationstarted. -
sync- A migration thatSyncTableMigrationstarted.
-
- See Also:
-
-
typeAsString
The type of the migration. Valid values:
-
start- A migration thatStartTableMigrationstarted. -
sync- A migration thatSyncTableMigrationstarted.
If the service returns an enum value that is not available in the current SDK version,
typewill returnMigrationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the migration. Valid values:
-
start- A migration thatStartTableMigrationstarted. -
sync- A migration thatSyncTableMigrationstarted.
-
- See Also:
-
-
state
The state of the migration. Valid values:
-
new- S3 Tables accepted the request. -
planning- The migration is checking the source table, its objects and the destination for compatibility, and writing the compatibility reports. -
pendingReview- Planning finished, and the migration waits for you to continue or cancel it withUpdateTableMigration. -
queued- The migration is waiting to start migrating data. -
migrating- The migration is running the plan from theplanningstate: it copies data and commits it to the destination table. A migration reaches this state only ifhasValidPlanistrue. -
succeeded- Every planned object migrated. -
failed- The migration failed. CheckfailureReasonfor the cause. -
cancelling- You cancelled the migration, and it is finishing the work in progress. -
cancelled- The migration is cancelled.
A migration ends in the
succeeded,failedorcancelledstate. You can cancel it until it ends.If the service returns an enum value that is not available in the current SDK version,
statewill returnMigrationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the migration. Valid values:
-
new- S3 Tables accepted the request. -
planning- The migration is checking the source table, its objects and the destination for compatibility, and writing the compatibility reports. -
pendingReview- Planning finished, and the migration waits for you to continue or cancel it withUpdateTableMigration. -
queued- The migration is waiting to start migrating data. -
migrating- The migration is running the plan from theplanningstate: it copies data and commits it to the destination table. A migration reaches this state only ifhasValidPlanistrue. -
succeeded- Every planned object migrated. -
failed- The migration failed. CheckfailureReasonfor the cause. -
cancelling- You cancelled the migration, and it is finishing the work in progress. -
cancelled- The migration is cancelled.
A migration ends in the
succeeded,failedorcancelledstate. You can cancel it until it ends. -
- See Also:
-
-
stateAsString
The state of the migration. Valid values:
-
new- S3 Tables accepted the request. -
planning- The migration is checking the source table, its objects and the destination for compatibility, and writing the compatibility reports. -
pendingReview- Planning finished, and the migration waits for you to continue or cancel it withUpdateTableMigration. -
queued- The migration is waiting to start migrating data. -
migrating- The migration is running the plan from theplanningstate: it copies data and commits it to the destination table. A migration reaches this state only ifhasValidPlanistrue. -
succeeded- Every planned object migrated. -
failed- The migration failed. CheckfailureReasonfor the cause. -
cancelling- You cancelled the migration, and it is finishing the work in progress. -
cancelled- The migration is cancelled.
A migration ends in the
succeeded,failedorcancelledstate. You can cancel it until it ends.If the service returns an enum value that is not available in the current SDK version,
statewill returnMigrationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the migration. Valid values:
-
new- S3 Tables accepted the request. -
planning- The migration is checking the source table, its objects and the destination for compatibility, and writing the compatibility reports. -
pendingReview- Planning finished, and the migration waits for you to continue or cancel it withUpdateTableMigration. -
queued- The migration is waiting to start migrating data. -
migrating- The migration is running the plan from theplanningstate: it copies data and commits it to the destination table. A migration reaches this state only ifhasValidPlanistrue. -
succeeded- Every planned object migrated. -
failed- The migration failed. CheckfailureReasonfor the cause. -
cancelling- You cancelled the migration, and it is finishing the work in progress. -
cancelled- The migration is cancelled.
A migration ends in the
succeeded,failedorcancelledstate. You can cancel it until it ends. -
- See Also:
-
-
roleARN
The Amazon Resource Name (ARN) of the IAM role that the migration uses.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role that the migration uses.
-
reviewMigrationPlan
A Boolean value that specifies whether the migration waits in the
pendingReviewstate, so that you can review the compatibility reports before it migrates any data.- Returns:
- A Boolean value that specifies whether the migration waits in the
pendingReviewstate, so that you can review the compatibility reports before it migrates any data.
-
hasValidPlan
A Boolean value that specifies whether planning produced a plan that the migration can run. If planning hasn't finished, this value isn't returned.
- Returns:
- A Boolean value that specifies whether planning produced a plan that the migration can run. If planning hasn't finished, this value isn't returned.
-
createdAt
The date and time that the migration was created.
- Returns:
- The date and time that the migration was created.
-
stateUpdatedAt
The date and time that the migration's state last changed.
- Returns:
- The date and time that the migration's state last changed.
-
failureReason
The reason that the migration failed. The code names the cause, such as a migration role that S3 Tables can't assume or an Amazon Web Services Glue table that doesn't exist, or the report that lists the findings. This value is returned only when the migration is in the
failedstate.- Returns:
- The reason that the migration failed. The code names the cause, such as a migration role that S3 Tables
can't assume or an Amazon Web Services Glue table that doesn't exist, or the report that lists the
findings. This value is returned only when the migration is in the
failedstate.
-
planningStats
Statistics about the source and the partitions in the migration. This value is returned after planning finishes.
- Returns:
- Statistics about the source and the partitions in the migration. This value is returned after planning finishes.
-
migrationStats
The number of objects that migrated, failed or are pending. These counts are set when planning finishes and updated when the migration ends.
- Returns:
- The number of objects that migrated, failed or are pending. These counts are set when planning finishes and updated when the migration ends.
-
sourceType
The type of the migration's source.
If the service returns an enum value that is not available in the current SDK version,
sourceTypewill returnMigrationSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- The type of the migration's source.
- See Also:
-
sourceTypeAsString
The type of the migration's source.
If the service returns an enum value that is not available in the current SDK version,
sourceTypewill returnMigrationSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- The type of the migration's source.
- See Also:
-
source
The source table of the migration.
- Returns:
- The source table of the migration.
-
dataMigration
The maintenance settings and migration policies for the destination table.
- Returns:
- The maintenance settings and migration policies for the destination table.
-
migrationOutput
The bucket and prefixes for the migration's reports, and the location of each report once it is written.
- Returns:
- The bucket and prefixes for the migration's reports, and the location of each report once it is written.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetTableMigrationResponse.Builder,GetTableMigrationResponse> - Specified by:
toBuilderin classAwsResponse- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
Description copied from class:SdkResponseUsed to retrieve the value of a field from any class that extendsSdkResponse. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkResponse.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkResponse- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-