Interface MigrationFailureReason.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MigrationFailureReason.Builder,,MigrationFailureReason> SdkBuilder<MigrationFailureReason.Builder,,MigrationFailureReason> SdkPojo
- Enclosing class:
MigrationFailureReason
-
Method Summary
Modifier and TypeMethodDescriptionThe failure code.code(MigrationFailureCode code) The failure code.The resource that the failure applies to, such as the role ARN, the Amazon Web Services Glue table (database.table) or a bucket.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
code
The failure code. It names the cause or the report that lists the findings. Valid values:
-
rolePermissions- S3 Tables couldn't assume the migration role, or the role doesn't have a permission that the migration needs.detailis the role ARN. -
sourcePermissions- The migration role couldn't read the Amazon Web Services Glue table or the source objects.detailnames the table (database.table) or the source bucket. -
destinationPermissions- The migration role couldn't write to the table bucket, the destination table or the report bucket.detailnames the destination table or the bucket. -
resourceNotFound- A resource that you specified doesn't exist, such as the Amazon Web Services Glue table, the source bucket, or the report bucket.detailnames it. -
sourceNotSupported- The source table can't be migrated, for example because it is empty, has too many objects, or has columns or partitions that can't be migrated. The table compatibility report lists the findings. -
tableCompatibilityReport- The migration couldn't create the destination table, for example because a table with that name was created while the migration ran, or the KMS key can't be used. For a sync, the destination table changed after the previous migration. The table compatibility report lists the finding. -
objectCompatibilityReport- Some source objects can't be migrated, for example because they are archived, or because they were overwritten after an earlier migration migrated them. The object compatibility report lists them. -
objectMigrationReport- Some source objects failed to migrate. The object migration report lists them and the cause for each. -
reportBucketNotSupported- The report bucket can't receive the migration's reports, for example because it is in a different Region than the table bucket. -
internalError- S3 Tables encountered an internal error. Retry the migration, and contact Amazon Web Services Support if the error persists. A migration that waits in thependingReviewstate for more than 30 days also fails with this code.
- Parameters:
code- The failure code. It names the cause or the report that lists the findings. Valid values:-
rolePermissions- S3 Tables couldn't assume the migration role, or the role doesn't have a permission that the migration needs.detailis the role ARN. -
sourcePermissions- The migration role couldn't read the Amazon Web Services Glue table or the source objects.detailnames the table (database.table) or the source bucket. -
destinationPermissions- The migration role couldn't write to the table bucket, the destination table or the report bucket.detailnames the destination table or the bucket. -
resourceNotFound- A resource that you specified doesn't exist, such as the Amazon Web Services Glue table, the source bucket, or the report bucket.detailnames it. -
sourceNotSupported- The source table can't be migrated, for example because it is empty, has too many objects, or has columns or partitions that can't be migrated. The table compatibility report lists the findings. -
tableCompatibilityReport- The migration couldn't create the destination table, for example because a table with that name was created while the migration ran, or the KMS key can't be used. For a sync, the destination table changed after the previous migration. The table compatibility report lists the finding. -
objectCompatibilityReport- Some source objects can't be migrated, for example because they are archived, or because they were overwritten after an earlier migration migrated them. The object compatibility report lists them. -
objectMigrationReport- Some source objects failed to migrate. The object migration report lists them and the cause for each. -
reportBucketNotSupported- The report bucket can't receive the migration's reports, for example because it is in a different Region than the table bucket. -
internalError- S3 Tables encountered an internal error. Retry the migration, and contact Amazon Web Services Support if the error persists. A migration that waits in thependingReviewstate for more than 30 days also fails with this code.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
code
The failure code. It names the cause or the report that lists the findings. Valid values:
-
rolePermissions- S3 Tables couldn't assume the migration role, or the role doesn't have a permission that the migration needs.detailis the role ARN. -
sourcePermissions- The migration role couldn't read the Amazon Web Services Glue table or the source objects.detailnames the table (database.table) or the source bucket. -
destinationPermissions- The migration role couldn't write to the table bucket, the destination table or the report bucket.detailnames the destination table or the bucket. -
resourceNotFound- A resource that you specified doesn't exist, such as the Amazon Web Services Glue table, the source bucket, or the report bucket.detailnames it. -
sourceNotSupported- The source table can't be migrated, for example because it is empty, has too many objects, or has columns or partitions that can't be migrated. The table compatibility report lists the findings. -
tableCompatibilityReport- The migration couldn't create the destination table, for example because a table with that name was created while the migration ran, or the KMS key can't be used. For a sync, the destination table changed after the previous migration. The table compatibility report lists the finding. -
objectCompatibilityReport- Some source objects can't be migrated, for example because they are archived, or because they were overwritten after an earlier migration migrated them. The object compatibility report lists them. -
objectMigrationReport- Some source objects failed to migrate. The object migration report lists them and the cause for each. -
reportBucketNotSupported- The report bucket can't receive the migration's reports, for example because it is in a different Region than the table bucket. -
internalError- S3 Tables encountered an internal error. Retry the migration, and contact Amazon Web Services Support if the error persists. A migration that waits in thependingReviewstate for more than 30 days also fails with this code.
- Parameters:
code- The failure code. It names the cause or the report that lists the findings. Valid values:-
rolePermissions- S3 Tables couldn't assume the migration role, or the role doesn't have a permission that the migration needs.detailis the role ARN. -
sourcePermissions- The migration role couldn't read the Amazon Web Services Glue table or the source objects.detailnames the table (database.table) or the source bucket. -
destinationPermissions- The migration role couldn't write to the table bucket, the destination table or the report bucket.detailnames the destination table or the bucket. -
resourceNotFound- A resource that you specified doesn't exist, such as the Amazon Web Services Glue table, the source bucket, or the report bucket.detailnames it. -
sourceNotSupported- The source table can't be migrated, for example because it is empty, has too many objects, or has columns or partitions that can't be migrated. The table compatibility report lists the findings. -
tableCompatibilityReport- The migration couldn't create the destination table, for example because a table with that name was created while the migration ran, or the KMS key can't be used. For a sync, the destination table changed after the previous migration. The table compatibility report lists the finding. -
objectCompatibilityReport- Some source objects can't be migrated, for example because they are archived, or because they were overwritten after an earlier migration migrated them. The object compatibility report lists them. -
objectMigrationReport- Some source objects failed to migrate. The object migration report lists them and the cause for each. -
reportBucketNotSupported- The report bucket can't receive the migration's reports, for example because it is in a different Region than the table bucket. -
internalError- S3 Tables encountered an internal error. Retry the migration, and contact Amazon Web Services Support if the error persists. A migration that waits in thependingReviewstate for more than 30 days also fails with this code.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
detail
The resource that the failure applies to, such as the role ARN, the Amazon Web Services Glue table (
database.table) or a bucket. ForsourceNotSupported, the reason that the source isn't supported, such asEMPTY_TABLE. This value isn't returned for the report codes or forinternalError.- Parameters:
detail- The resource that the failure applies to, such as the role ARN, the Amazon Web Services Glue table (database.table) or a bucket. ForsourceNotSupported, the reason that the source isn't supported, such asEMPTY_TABLE. This value isn't returned for the report codes or forinternalError.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-