Struct aws_sdk_route53resolver::operation::update_firewall_domains::builders::UpdateFirewallDomainsInputBuilder
source · #[non_exhaustive]pub struct UpdateFirewallDomainsInputBuilder { /* private fields */ }Expand description
A builder for UpdateFirewallDomainsInput.
Implementations§
source§impl UpdateFirewallDomainsInputBuilder
impl UpdateFirewallDomainsInputBuilder
sourcepub fn firewall_domain_list_id(self, input: impl Into<String>) -> Self
pub fn firewall_domain_list_id(self, input: impl Into<String>) -> Self
The ID of the domain list whose domains you want to update.
sourcepub fn set_firewall_domain_list_id(self, input: Option<String>) -> Self
pub fn set_firewall_domain_list_id(self, input: Option<String>) -> Self
The ID of the domain list whose domains you want to update.
sourcepub fn operation(self, input: FirewallDomainUpdateOperation) -> Self
pub fn operation(self, input: FirewallDomainUpdateOperation) -> Self
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.
sourcepub fn set_operation(self, input: Option<FirewallDomainUpdateOperation>) -> Self
pub fn set_operation(self, input: Option<FirewallDomainUpdateOperation>) -> Self
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.
sourcepub fn domains(self, input: impl Into<String>) -> Self
pub fn domains(self, input: impl Into<String>) -> Self
Appends an item to domains.
To override the contents of this collection use set_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.
sourcepub fn set_domains(self, input: Option<Vec<String>>) -> Self
pub fn set_domains(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn build(self) -> Result<UpdateFirewallDomainsInput, BuildError>
pub fn build(self) -> Result<UpdateFirewallDomainsInput, BuildError>
Consumes the builder and constructs a UpdateFirewallDomainsInput.
Trait Implementations§
source§impl Clone for UpdateFirewallDomainsInputBuilder
impl Clone for UpdateFirewallDomainsInputBuilder
source§fn clone(&self) -> UpdateFirewallDomainsInputBuilder
fn clone(&self) -> UpdateFirewallDomainsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateFirewallDomainsInputBuilder
impl Default for UpdateFirewallDomainsInputBuilder
source§fn default() -> UpdateFirewallDomainsInputBuilder
fn default() -> UpdateFirewallDomainsInputBuilder
source§impl PartialEq<UpdateFirewallDomainsInputBuilder> for UpdateFirewallDomainsInputBuilder
impl PartialEq<UpdateFirewallDomainsInputBuilder> for UpdateFirewallDomainsInputBuilder
source§fn eq(&self, other: &UpdateFirewallDomainsInputBuilder) -> bool
fn eq(&self, other: &UpdateFirewallDomainsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.