JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.waf.model

Class WAFEntityMigrationException

  • All Implemented Interfaces:
    Serializable


    @Generated(value="com.amazonaws:aws-java-sdk-code-generator")
    public class WAFEntityMigrationException
    extends AWSWAFException 

    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.

    See Also:
    Serialized Form
    • Constructor Detail

      • WAFEntityMigrationException

        public WAFEntityMigrationException(String message)
        Constructs a new WAFEntityMigrationException with the specified error message.
        Parameters:
        message - Describes the error encountered.
    • Method Detail

      • setMigrationErrorType

        public void setMigrationErrorType(String migrationErrorType)
        Parameters:
        migrationErrorType -
        See Also:
        MigrationErrorType
      • withMigrationErrorType

        public WAFEntityMigrationException withMigrationErrorType(String migrationErrorType)
        Parameters:
        migrationErrorType -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MigrationErrorType
      • setMigrationErrorReason

        public void setMigrationErrorReason(String migrationErrorReason)
        Parameters:
        migrationErrorReason -
      • getMigrationErrorReason

        public String getMigrationErrorReason()
        Returns:
      • withMigrationErrorReason

        public WAFEntityMigrationException withMigrationErrorReason(String migrationErrorReason)
        Parameters:
        migrationErrorReason -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /