Struct aws_sdk_route53resolver::operation::import_firewall_domains::builders::ImportFirewallDomainsInputBuilder
source · #[non_exhaustive]pub struct ImportFirewallDomainsInputBuilder { /* private fields */ }Expand description
A builder for ImportFirewallDomainsInput.
Implementations§
source§impl ImportFirewallDomainsInputBuilder
impl ImportFirewallDomainsInputBuilder
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 that you want to modify with the import operation.
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 that you want to modify with the import operation.
sourcepub fn operation(self, input: FirewallDomainImportOperation) -> Self
pub fn operation(self, input: FirewallDomainImportOperation) -> Self
What you want DNS Firewall to do with the domains that are listed in the file. This must be set to REPLACE, which updates the domain list to exactly match the list in the file.
sourcepub fn set_operation(self, input: Option<FirewallDomainImportOperation>) -> Self
pub fn set_operation(self, input: Option<FirewallDomainImportOperation>) -> Self
What you want DNS Firewall to do with the domains that are listed in the file. This must be set to REPLACE, which updates the domain list to exactly match the list in the file.
sourcepub fn domain_file_url(self, input: impl Into<String>) -> Self
pub fn domain_file_url(self, input: impl Into<String>) -> Self
The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import.
The file must be in an S3 bucket that's in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line.
sourcepub fn set_domain_file_url(self, input: Option<String>) -> Self
pub fn set_domain_file_url(self, input: Option<String>) -> Self
The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import.
The file must be in an S3 bucket that's in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line.
sourcepub fn build(self) -> Result<ImportFirewallDomainsInput, BuildError>
pub fn build(self) -> Result<ImportFirewallDomainsInput, BuildError>
Consumes the builder and constructs a ImportFirewallDomainsInput.
Trait Implementations§
source§impl Clone for ImportFirewallDomainsInputBuilder
impl Clone for ImportFirewallDomainsInputBuilder
source§fn clone(&self) -> ImportFirewallDomainsInputBuilder
fn clone(&self) -> ImportFirewallDomainsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ImportFirewallDomainsInputBuilder
impl Default for ImportFirewallDomainsInputBuilder
source§fn default() -> ImportFirewallDomainsInputBuilder
fn default() -> ImportFirewallDomainsInputBuilder
source§impl PartialEq<ImportFirewallDomainsInputBuilder> for ImportFirewallDomainsInputBuilder
impl PartialEq<ImportFirewallDomainsInputBuilder> for ImportFirewallDomainsInputBuilder
source§fn eq(&self, other: &ImportFirewallDomainsInputBuilder) -> bool
fn eq(&self, other: &ImportFirewallDomainsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.