/* * 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: *
*
* ADD
- Add the domains to the ones that are already in the domain list.
*
* REMOVE
- Search the domain list for the domains and remove them from the list.
*
* REPLACE
- Update the domain list to exactly match the list that you are providing.
*
* 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: *
*
* It can optionally start with *
(asterisk).
*
* With the exception of the optional starting asterisk, it must only contain the following characters:
* A-Z
, a-z
, 0-9
, -
(hyphen).
*
* It must be from 1-255 characters in length. *
** 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: *
*
* ADD
- Add the domains to the ones that are already in the domain list.
*
* REMOVE
- Search the domain list for the domains and remove them from the list.
*
* REPLACE
- Update the domain list to exactly match the list that you are providing.
*
* ADD
- Add the domains to the ones that are already in the domain list.
*
* REMOVE
- Search the domain list for the domains and remove them from the list.
*
* REPLACE
- Update the domain list to exactly match the list that you are providing.
*
* What you want DNS Firewall to do with the domains that you are providing: *
*
* ADD
- Add the domains to the ones that are already in the domain list.
*
* REMOVE
- Search the domain list for the domains and remove them from the list.
*
* REPLACE
- Update the domain list to exactly match the list that you are providing.
*
* ADD
- Add the domains to the ones that are already in the domain list.
*
* REMOVE
- Search the domain list for the domains and remove them from the list.
*
* REPLACE
- Update the domain list to exactly match the list that you are providing.
*
* What you want DNS Firewall to do with the domains that you are providing: *
*
* ADD
- Add the domains to the ones that are already in the domain list.
*
* REMOVE
- Search the domain list for the domains and remove them from the list.
*
* REPLACE
- Update the domain list to exactly match the list that you are providing.
*
* ADD
- Add the domains to the ones that are already in the domain list.
*
* REMOVE
- Search the domain list for the domains and remove them from the list.
*
* REPLACE
- Update the domain list to exactly match the list that you are providing.
*
* What you want DNS Firewall to do with the domains that you are providing: *
*
* ADD
- Add the domains to the ones that are already in the domain list.
*
* REMOVE
- Search the domain list for the domains and remove them from the list.
*
* REPLACE
- Update the domain list to exactly match the list that you are providing.
*
* ADD
- Add the domains to the ones that are already in the domain list.
*
* REMOVE
- Search the domain list for the domains and remove them from the list.
*
* REPLACE
- Update the domain list to exactly match the list that you are providing.
*
* 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: *
*
* It can optionally start with *
(asterisk).
*
* With the exception of the optional starting asterisk, it must only contain the following characters:
* A-Z
, a-z
, 0-9
, -
(hyphen).
*
* It must be from 1-255 characters in length. *
** There is a limit of 1000 domains per request. *
** Each domain specification in your domain list must satisfy the following requirements: *
*
* It can optionally start with *
(asterisk).
*
* With the exception of the optional starting asterisk, it must only contain the following characters:
* A-Z
, a-z
, 0-9
, -
(hyphen).
*
* It must be from 1-255 characters in length. *
** 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: *
*
* It can optionally start with *
(asterisk).
*
* With the exception of the optional starting asterisk, it must only contain the following characters:
* A-Z
, a-z
, 0-9
, -
(hyphen).
*
* It must be from 1-255 characters in length. *
** There is a limit of 1000 domains per request. *
** Each domain specification in your domain list must satisfy the following requirements: *
*
* It can optionally start with *
(asterisk).
*
* With the exception of the optional starting asterisk, it must only contain the following characters:
* A-Z
, a-z
, 0-9
, -
(hyphen).
*
* It must be from 1-255 characters in length. *
** 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: *
*
* It can optionally start with *
(asterisk).
*
* With the exception of the optional starting asterisk, it must only contain the following characters:
* A-Z
, a-z
, 0-9
, -
(hyphen).
*
* It must be from 1-255 characters in length. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDomains(java.util.Collection)} or {@link #withDomains(java.util.Collection)} if you want to override * the existing values. *
* * @param domains * 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: *
*
* It can optionally start with *
(asterisk).
*
* With the exception of the optional starting asterisk, it must only contain the following characters:
* A-Z
, a-z
, 0-9
, -
(hyphen).
*
* It must be from 1-255 characters in length. *
** 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: *
*
* It can optionally start with *
(asterisk).
*
* With the exception of the optional starting asterisk, it must only contain the following characters:
* A-Z
, a-z
, 0-9
, -
(hyphen).
*
* It must be from 1-255 characters in length. *
** There is a limit of 1000 domains per request. *
** Each domain specification in your domain list must satisfy the following requirements: *
*
* It can optionally start with *
(asterisk).
*
* With the exception of the optional starting asterisk, it must only contain the following characters:
* A-Z
, a-z
, 0-9
, -
(hyphen).
*
* It must be from 1-255 characters in length. *
*