#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for FirewallRuleGroupAssociation
Implementations
sourceimpl Builder
impl Builder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the firewall rule group association.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the firewall rule group association.
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 is associated 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 is associated 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 are associated with a single VPC. DNS Firewall filters VPC traffic starting from rule group with the lowest numeric priority setting.
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 are associated with a single VPC. DNS Firewall filters VPC traffic starting from rule group with the lowest numeric priority setting.
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 managed_owner_name(self, input: impl Into<String>) -> Self
pub fn managed_owner_name(self, input: impl Into<String>) -> Self
The owner of the association, used only for associations that are not managed by you. If you use Firewall Manager to manage your DNS Firewalls, then this reports Firewall Manager as the managed owner.
sourcepub fn set_managed_owner_name(self, input: Option<String>) -> Self
pub fn set_managed_owner_name(self, input: Option<String>) -> Self
The owner of the association, used only for associations that are not managed by you. If you use Firewall Manager to manage your DNS Firewalls, then this reports Firewall Manager as the managed owner.
sourcepub fn status(self, input: FirewallRuleGroupAssociationStatus) -> Self
pub fn status(self, input: FirewallRuleGroupAssociationStatus) -> Self
The current status of the association.
sourcepub fn set_status(
self,
input: Option<FirewallRuleGroupAssociationStatus>
) -> Self
pub fn set_status(
self,
input: Option<FirewallRuleGroupAssociationStatus>
) -> Self
The current status of the association.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
Additional information about the status of the response, if available.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
Additional information about the status of the response, if available.
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 defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
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 defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
sourcepub fn creation_time(self, input: impl Into<String>) -> Self
pub fn creation_time(self, input: impl Into<String>) -> Self
The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC).
sourcepub fn set_creation_time(self, input: Option<String>) -> Self
pub fn set_creation_time(self, input: Option<String>) -> Self
The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC).
sourcepub fn modification_time(self, input: impl Into<String>) -> Self
pub fn modification_time(self, input: impl Into<String>) -> Self
The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).
sourcepub fn set_modification_time(self, input: Option<String>) -> Self
pub fn set_modification_time(self, input: Option<String>) -> Self
The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).
sourcepub fn build(self) -> FirewallRuleGroupAssociation
pub fn build(self) -> FirewallRuleGroupAssociation
Consumes the builder and constructs a FirewallRuleGroupAssociation
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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