Class WafEntityMigrationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.core.exception.SdkException
-
- software.amazon.awssdk.core.exception.SdkServiceException
-
- software.amazon.awssdk.awscore.exception.AwsServiceException
-
- software.amazon.awssdk.services.waf.model.WafException
-
- software.amazon.awssdk.services.waf.model.WafEntityMigrationException
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WafEntityMigrationException.Builder,WafEntityMigrationException>
@Generated("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 theIgnoreUnsupportedTypeis not set to true. -
ENTITY_NOT_FOUND- The web ACL doesn't exist. -
S3_BUCKET_NO_PERMISSION- You don't have permission to perform thePutObjectaction to the specified Amazon S3 bucket. -
S3_BUCKET_NOT_ACCESSIBLE- The bucket policy doesn't allow AWS WAF to perform thePutObjectaction 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWafEntityMigrationException.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WafEntityMigrationException.Builderbuilder()StringmigrationErrorReason()Returns the value of the MigrationErrorReason property for this object.MigrationErrorTypemigrationErrorType()Returns the value of the MigrationErrorType property for this object.StringmigrationErrorTypeAsString()Returns the value of the MigrationErrorType property for this object.List<SdkField<?>>sdkFields()static Class<? extends WafEntityMigrationException.Builder>serializableBuilderClass()WafEntityMigrationException.BuildertoBuilder()-
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
clone, equals, finalize, 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 Detail
-
toBuilder
public WafEntityMigrationException.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WafEntityMigrationException.Builder,WafEntityMigrationException>- Overrides:
toBuilderin classWafException
-
builder
public static WafEntityMigrationException.Builder builder()
-
serializableBuilderClass
public static Class<? extends WafEntityMigrationException.Builder> serializableBuilderClass()
-
migrationErrorType
public MigrationErrorType 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,
migrationErrorTypewill 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:
MigrationErrorType
-
migrationErrorTypeAsString
public String 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,
migrationErrorTypewill 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:
MigrationErrorType
-
migrationErrorReason
public String migrationErrorReason()
Returns the value of the MigrationErrorReason property for this object.- Returns:
- The value of the MigrationErrorReason property for this object.
-
-