Struct aws_sdk_route53resolver::operation::update_firewall_domains::builders::UpdateFirewallDomainsFluentBuilder
source · pub struct UpdateFirewallDomainsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateFirewallDomains.
Updates the firewall domain list from an array of domain specifications.
Implementations§
source§impl UpdateFirewallDomainsFluentBuilder
impl UpdateFirewallDomainsFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateFirewallDomains, AwsResponseRetryClassifier>, SdkError<UpdateFirewallDomainsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateFirewallDomains, AwsResponseRetryClassifier>, SdkError<UpdateFirewallDomainsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateFirewallDomainsOutput, SdkError<UpdateFirewallDomainsError>>
pub async fn send( self ) -> Result<UpdateFirewallDomainsOutput, SdkError<UpdateFirewallDomainsError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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.
Trait Implementations§
source§impl Clone for UpdateFirewallDomainsFluentBuilder
impl Clone for UpdateFirewallDomainsFluentBuilder
source§fn clone(&self) -> UpdateFirewallDomainsFluentBuilder
fn clone(&self) -> UpdateFirewallDomainsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more