#[non_exhaustive]pub struct FirewallRuleGroupBuilder { /* private fields */ }
Expand description
A builder for FirewallRuleGroup
.
Implementations§
source§impl FirewallRuleGroupBuilder
impl FirewallRuleGroupBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN (Amazon Resource Name) of the rule group.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The ARN (Amazon Resource Name) of the rule group.
sourcepub fn rule_count(self, input: i32) -> Self
pub fn rule_count(self, input: i32) -> Self
The number of rules in the rule group.
sourcepub fn set_rule_count(self, input: Option<i32>) -> Self
pub fn set_rule_count(self, input: Option<i32>) -> Self
The number of rules in the rule group.
sourcepub fn status(self, input: FirewallRuleGroupStatus) -> Self
pub fn status(self, input: FirewallRuleGroupStatus) -> Self
The status of the domain list.
sourcepub fn set_status(self, input: Option<FirewallRuleGroupStatus>) -> Self
pub fn set_status(self, input: Option<FirewallRuleGroupStatus>) -> Self
The status of the domain list.
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 rule group, 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 rule group, if available.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you.
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.
Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).
Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).
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 rule group 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 rule group 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 rule group 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 rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).
sourcepub fn build(self) -> FirewallRuleGroup
pub fn build(self) -> FirewallRuleGroup
Consumes the builder and constructs a FirewallRuleGroup
.
Trait Implementations§
source§impl Clone for FirewallRuleGroupBuilder
impl Clone for FirewallRuleGroupBuilder
source§fn clone(&self) -> FirewallRuleGroupBuilder
fn clone(&self) -> FirewallRuleGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FirewallRuleGroupBuilder
impl Debug for FirewallRuleGroupBuilder
source§impl Default for FirewallRuleGroupBuilder
impl Default for FirewallRuleGroupBuilder
source§fn default() -> FirewallRuleGroupBuilder
fn default() -> FirewallRuleGroupBuilder
source§impl PartialEq<FirewallRuleGroupBuilder> for FirewallRuleGroupBuilder
impl PartialEq<FirewallRuleGroupBuilder> for FirewallRuleGroupBuilder
source§fn eq(&self, other: &FirewallRuleGroupBuilder) -> bool
fn eq(&self, other: &FirewallRuleGroupBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.