Class WafEntityMigrationException
- All Implemented Interfaces:
Serializable
,SdkPojo
,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 theIgnoreUnsupportedType
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 thePutObject
action to the specified Amazon S3 bucket. -
S3_BUCKET_NOT_ACCESSIBLE
- The bucket policy doesn't allow AWS WAF to perform thePutObject
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.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Returns the value of the MigrationErrorReason property for this object.Returns the value of the MigrationErrorType property for this object.Returns the value of the MigrationErrorType property for this object.static Class
<? extends WafEntityMigrationException.Builder> Create aAwsServiceException.Builder
initialized with the properties of thisAwsServiceException
.Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
Methods inherited from class software.amazon.awssdk.core.exception.SdkServiceException
extendedRequestId, requestId, statusCode
Methods inherited from class software.amazon.awssdk.core.exception.SdkException
create, retryable
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
toBuilder
Description copied from class:AwsServiceException
Create aAwsServiceException.Builder
initialized with the properties of thisAwsServiceException
.- Specified by:
toBuilder
in interfaceToCopyableBuilder<WafEntityMigrationException.Builder,
WafEntityMigrationException> - Overrides:
toBuilder
in classWafException
- Returns:
- A new builder initialized with this config's properties.
-
builder
-
serializableBuilderClass
-
migrationErrorType
Returns the value of the MigrationErrorType property for this object.If the service returns an enum value that is not available in the current SDK version,
migrationErrorType
will returnMigrationErrorType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommigrationErrorTypeAsString()
.- Returns:
- The value of the MigrationErrorType property for this object.
- See Also:
-
migrationErrorTypeAsString
Returns the value of the MigrationErrorType property for this object.If the service returns an enum value that is not available in the current SDK version,
migrationErrorType
will returnMigrationErrorType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommigrationErrorTypeAsString()
.- Returns:
- The value of the MigrationErrorType property for this object.
- See Also:
-
migrationErrorReason
Returns the value of the MigrationErrorReason property for this object.- Returns:
- The value of the MigrationErrorReason property for this object.
-
sdkFields
- Specified by:
sdkFields
in interfaceSdkPojo
- Overrides:
sdkFields
in classSdkServiceException
- Returns:
- List of
SdkField
in this POJO. May be empty list but should never be null.
-