Struct aws_sdk_route53resolver::operation::associate_firewall_rule_group::builders::AssociateFirewallRuleGroupInputBuilder
source · #[non_exhaustive]pub struct AssociateFirewallRuleGroupInputBuilder { /* private fields */ }
Expand description
A builder for AssociateFirewallRuleGroupInput
.
Implementations§
source§impl AssociateFirewallRuleGroupInputBuilder
impl AssociateFirewallRuleGroupInputBuilder
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 get_creator_request_id(&self) -> &Option<String>
pub fn get_creator_request_id(&self) -> &Option<String>
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.
This field is required.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 get_firewall_rule_group_id(&self) -> &Option<String>
pub fn get_firewall_rule_group_id(&self) -> &Option<String>
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.
This field is required.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 get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
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 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 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.
This field is required.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 get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
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
.
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. 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.
A list of the tag keys and values that you want to associate with the rule group association.
sourcepub fn build(self) -> Result<AssociateFirewallRuleGroupInput, BuildError>
pub fn build(self) -> Result<AssociateFirewallRuleGroupInput, BuildError>
Consumes the builder and constructs a AssociateFirewallRuleGroupInput
.
source§impl AssociateFirewallRuleGroupInputBuilder
impl AssociateFirewallRuleGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateFirewallRuleGroupOutput, SdkError<AssociateFirewallRuleGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateFirewallRuleGroupOutput, SdkError<AssociateFirewallRuleGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateFirewallRuleGroupInputBuilder
impl Clone for AssociateFirewallRuleGroupInputBuilder
source§fn clone(&self) -> AssociateFirewallRuleGroupInputBuilder
fn clone(&self) -> AssociateFirewallRuleGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociateFirewallRuleGroupInputBuilder
impl Default for AssociateFirewallRuleGroupInputBuilder
source§fn default() -> AssociateFirewallRuleGroupInputBuilder
fn default() -> AssociateFirewallRuleGroupInputBuilder
source§impl PartialEq for AssociateFirewallRuleGroupInputBuilder
impl PartialEq for AssociateFirewallRuleGroupInputBuilder
source§fn eq(&self, other: &AssociateFirewallRuleGroupInputBuilder) -> bool
fn eq(&self, other: &AssociateFirewallRuleGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateFirewallRuleGroupInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateFirewallRuleGroupInputBuilder
impl RefUnwindSafe for AssociateFirewallRuleGroupInputBuilder
impl Send for AssociateFirewallRuleGroupInputBuilder
impl Sync for AssociateFirewallRuleGroupInputBuilder
impl Unpin for AssociateFirewallRuleGroupInputBuilder
impl UnwindSafe for AssociateFirewallRuleGroupInputBuilder
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