@Generated(value="software.amazon.awssdk:codegen") public final class WafEntityMigrationException extends WafException implements ToCopyableBuilder<WafEntityMigrationException.Builder,WafEntityMigrationException>
The operation failed due to a problem with the migration. The failure cause is provided in the exception, in the
MigrationErrorType:
ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the IgnoreUnsupportedType
is not set to true.
ENTITY_NOT_FOUND - The web ACL doesn't exist.
S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject action to the
specified Amazon S3 bucket.
S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to perform the PutObject
action in the bucket.
S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist.
S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as the web ACL.
S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3 bucket for another reason.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WafEntityMigrationException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WafEntityMigrationException.Builder |
builder() |
String |
migrationErrorReason()
Returns the value of the MigrationErrorReason property for this object.
|
MigrationErrorType |
migrationErrorType()
Returns the value of the MigrationErrorType property for this object.
|
String |
migrationErrorTypeAsString()
Returns the value of the MigrationErrorType property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WafEntityMigrationException.Builder> |
serializableBuilderClass() |
WafEntityMigrationException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic WafEntityMigrationException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WafEntityMigrationException.Builder,WafEntityMigrationException>toBuilder in class WafExceptionpublic static WafEntityMigrationException.Builder builder()
public static Class<? extends WafEntityMigrationException.Builder> serializableBuilderClass()
public MigrationErrorType migrationErrorType()
If the service returns an enum value that is not available in the current SDK version,
migrationErrorType will return MigrationErrorType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from migrationErrorTypeAsString().
MigrationErrorTypepublic String migrationErrorTypeAsString()
If the service returns an enum value that is not available in the current SDK version,
migrationErrorType will return MigrationErrorType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from migrationErrorTypeAsString().
MigrationErrorTypepublic String migrationErrorReason()
Copyright © 2023. All rights reserved.