Struct aws_sdk_route53resolver::operation::update_firewall_rule_group_association::builders::UpdateFirewallRuleGroupAssociationInputBuilder
source · #[non_exhaustive]pub struct UpdateFirewallRuleGroupAssociationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateFirewallRuleGroupAssociationInput
.
Implementations§
source§impl UpdateFirewallRuleGroupAssociationInputBuilder
impl UpdateFirewallRuleGroupAssociationInputBuilder
sourcepub fn firewall_rule_group_association_id(
self,
input: impl Into<String>
) -> Self
pub fn firewall_rule_group_association_id( self, input: impl Into<String> ) -> Self
The identifier of the FirewallRuleGroupAssociation
.
sourcepub fn set_firewall_rule_group_association_id(
self,
input: Option<String>
) -> Self
pub fn set_firewall_rule_group_association_id( self, input: Option<String> ) -> Self
The identifier of the FirewallRuleGroupAssociation
.
sourcepub fn get_firewall_rule_group_association_id(&self) -> &Option<String>
pub fn get_firewall_rule_group_association_id(&self) -> &Option<String>
The identifier of the FirewallRuleGroupAssociation
.
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 100, 200, and so on. You can change the priority setting for a rule group association after you create it.
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 100, 200, and so on. You can change the priority setting for a rule group association after you create it.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
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 100, 200, and so on. You can change the priority setting for a rule group association after you create 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.
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.
sourcepub fn get_mutation_protection(&self) -> &Option<MutationProtectionStatus>
pub fn get_mutation_protection(&self) -> &Option<MutationProtectionStatus>
If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
sourcepub fn build(
self
) -> Result<UpdateFirewallRuleGroupAssociationInput, BuildError>
pub fn build( self ) -> Result<UpdateFirewallRuleGroupAssociationInput, BuildError>
Consumes the builder and constructs a UpdateFirewallRuleGroupAssociationInput
.
source§impl UpdateFirewallRuleGroupAssociationInputBuilder
impl UpdateFirewallRuleGroupAssociationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateFirewallRuleGroupAssociationOutput, SdkError<UpdateFirewallRuleGroupAssociationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateFirewallRuleGroupAssociationOutput, SdkError<UpdateFirewallRuleGroupAssociationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateFirewallRuleGroupAssociationInputBuilder
impl Clone for UpdateFirewallRuleGroupAssociationInputBuilder
source§fn clone(&self) -> UpdateFirewallRuleGroupAssociationInputBuilder
fn clone(&self) -> UpdateFirewallRuleGroupAssociationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateFirewallRuleGroupAssociationInputBuilder
impl Default for UpdateFirewallRuleGroupAssociationInputBuilder
source§fn default() -> UpdateFirewallRuleGroupAssociationInputBuilder
fn default() -> UpdateFirewallRuleGroupAssociationInputBuilder
source§impl PartialEq for UpdateFirewallRuleGroupAssociationInputBuilder
impl PartialEq for UpdateFirewallRuleGroupAssociationInputBuilder
source§fn eq(&self, other: &UpdateFirewallRuleGroupAssociationInputBuilder) -> bool
fn eq(&self, other: &UpdateFirewallRuleGroupAssociationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateFirewallRuleGroupAssociationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateFirewallRuleGroupAssociationInputBuilder
impl RefUnwindSafe for UpdateFirewallRuleGroupAssociationInputBuilder
impl Send for UpdateFirewallRuleGroupAssociationInputBuilder
impl Sync for UpdateFirewallRuleGroupAssociationInputBuilder
impl Unpin for UpdateFirewallRuleGroupAssociationInputBuilder
impl UnwindSafe for UpdateFirewallRuleGroupAssociationInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more