Class MigrationSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MigrationSummary.Builder,MigrationSummary>
A summary of a migration.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic MigrationSummary.Builderbuilder()final InstantThe date and time that the migration was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) 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 Stringname()The name of the destination table.final StringThe namespace of the destination table.static Class<? extends MigrationSummary.Builder> 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 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.
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.
-
- 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.
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.
-
- See Also:
-
-
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.
-
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<MigrationSummary.Builder,MigrationSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-