/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.waf.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateWebACLMigrationStackRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The UUID of the WAF Classic web ACL that you want to migrate to WAF v2. *

*/ private String webACLId; /** *

* The name of the Amazon S3 bucket to store the CloudFormation template in. The S3 bucket must be configured as * follows for the migration: *

* */ private String s3BucketName; /** *

* Indicates whether to exclude entities that can't be migrated or to stop the migration. Set this to true to ignore * unsupported entities in the web ACL during the migration. Otherwise, if AWS WAF encounters unsupported entities, * it stops the process and throws an exception. *

*/ private Boolean ignoreUnsupportedType; /** *

* The UUID of the WAF Classic web ACL that you want to migrate to WAF v2. *

* * @param webACLId * The UUID of the WAF Classic web ACL that you want to migrate to WAF v2. */ public void setWebACLId(String webACLId) { this.webACLId = webACLId; } /** *

* The UUID of the WAF Classic web ACL that you want to migrate to WAF v2. *

* * @return The UUID of the WAF Classic web ACL that you want to migrate to WAF v2. */ public String getWebACLId() { return this.webACLId; } /** *

* The UUID of the WAF Classic web ACL that you want to migrate to WAF v2. *

* * @param webACLId * The UUID of the WAF Classic web ACL that you want to migrate to WAF v2. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWebACLMigrationStackRequest withWebACLId(String webACLId) { setWebACLId(webACLId); return this; } /** *

* The name of the Amazon S3 bucket to store the CloudFormation template in. The S3 bucket must be configured as * follows for the migration: *

* * * @param s3BucketName * The name of the Amazon S3 bucket to store the CloudFormation template in. The S3 bucket must be configured * as follows for the migration:

*