/* * 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.route53resolver.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 UpdateFirewallDomainsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The ID of the domain list whose domains you want to update. *

*/ private String firewallDomainListId; /** *

* What you want DNS Firewall to do with the domains that you are providing: *

* */ private String operation; /** *

* A list of domains to use in the update operation. *

* *

* There is a limit of 1000 domains per request. *

*
*

* Each domain specification in your domain list must satisfy the following requirements: *

* */ private java.util.List domains; /** *

* The ID of the domain list whose domains you want to update. *

* * @param firewallDomainListId * The ID of the domain list whose domains you want to update. */ public void setFirewallDomainListId(String firewallDomainListId) { this.firewallDomainListId = firewallDomainListId; } /** *

* The ID of the domain list whose domains you want to update. *

* * @return The ID of the domain list whose domains you want to update. */ public String getFirewallDomainListId() { return this.firewallDomainListId; } /** *

* The ID of the domain list whose domains you want to update. *

* * @param firewallDomainListId * The ID of the domain list whose domains you want to update. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFirewallDomainsRequest withFirewallDomainListId(String firewallDomainListId) { setFirewallDomainListId(firewallDomainListId); return this; } /** *

* What you want DNS Firewall to do with the domains that you are providing: *

* * * @param operation * What you want DNS Firewall to do with the domains that you are providing:

*