pub struct AssociateFirewallRuleGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to AssociateFirewallRuleGroup
.
Associates a FirewallRuleGroup
with a VPC, to provide DNS filtering for the VPC.
Implementations
sourceimpl AssociateFirewallRuleGroup
impl AssociateFirewallRuleGroup
sourcepub async fn send(
self
) -> Result<AssociateFirewallRuleGroupOutput, SdkError<AssociateFirewallRuleGroupError>>
pub async fn send(
self
) -> Result<AssociateFirewallRuleGroupOutput, SdkError<AssociateFirewallRuleGroupError>>
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 creator_request_id(self, input: impl Into<String>) -> Self
pub fn creator_request_id(self, input: impl Into<String>) -> Self
A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId
can be any unique string, for example, a date/time stamp.
sourcepub fn set_creator_request_id(self, input: Option<String>) -> Self
pub fn set_creator_request_id(self, input: Option<String>) -> Self
A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId
can be any unique string, for example, a date/time stamp.
sourcepub fn firewall_rule_group_id(self, input: impl Into<String>) -> Self
pub fn firewall_rule_group_id(self, input: impl Into<String>) -> Self
The unique identifier of the firewall rule group.
sourcepub fn set_firewall_rule_group_id(self, input: Option<String>) -> Self
pub fn set_firewall_rule_group_id(self, input: Option<String>) -> Self
The unique identifier of the firewall rule group.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The unique identifier of the VPC that you want to associate with the rule group.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The unique identifier of the VPC that you want to associate with the rule group.
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.
The allowed values for Priority
are between 100 and 9900.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.
The allowed values for Priority
are between 100 and 9900.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A name that lets you identify the association, to manage and use it.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A name that lets you identify the association, to manage and use it.
sourcepub fn mutation_protection(self, input: MutationProtectionStatus) -> Self
pub fn mutation_protection(self, input: MutationProtectionStatus) -> Self
If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is DISABLED
.
sourcepub fn set_mutation_protection(
self,
input: Option<MutationProtectionStatus>
) -> Self
pub fn set_mutation_protection(
self,
input: Option<MutationProtectionStatus>
) -> Self
If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is DISABLED
.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of the tag keys and values that you want to associate with the rule group association.
A list of the tag keys and values that you want to associate with the rule group association.
Trait Implementations
sourceimpl Clone for AssociateFirewallRuleGroup
impl Clone for AssociateFirewallRuleGroup
sourcefn clone(&self) -> AssociateFirewallRuleGroup
fn clone(&self) -> AssociateFirewallRuleGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for AssociateFirewallRuleGroup
impl Send for AssociateFirewallRuleGroup
impl Sync for AssociateFirewallRuleGroup
impl Unpin for AssociateFirewallRuleGroup
impl !UnwindSafe for AssociateFirewallRuleGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more