#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for Firewall
Implementations
sourceimpl Builder
impl Builder
sourcepub fn firewall_name(self, input: impl Into<String>) -> Self
pub fn firewall_name(self, input: impl Into<String>) -> Self
The descriptive name of the firewall. You can't change the name of a firewall after you create it.
sourcepub fn set_firewall_name(self, input: Option<String>) -> Self
pub fn set_firewall_name(self, input: Option<String>) -> Self
The descriptive name of the firewall. You can't change the name of a firewall after you create it.
sourcepub fn firewall_arn(self, input: impl Into<String>) -> Self
pub fn firewall_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the firewall.
sourcepub fn set_firewall_arn(self, input: Option<String>) -> Self
pub fn set_firewall_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the firewall.
sourcepub fn firewall_policy_arn(self, input: impl Into<String>) -> Self
pub fn firewall_policy_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the firewall policy.
The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
sourcepub fn set_firewall_policy_arn(self, input: Option<String>) -> Self
pub fn set_firewall_policy_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the firewall policy.
The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
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 where the firewall is in use.
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 where the firewall is in use.
sourcepub fn subnet_mappings(self, input: SubnetMapping) -> Self
pub fn subnet_mappings(self, input: SubnetMapping) -> Self
Appends an item to subnet_mappings
.
To override the contents of this collection use set_subnet_mappings
.
The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.
sourcepub fn set_subnet_mappings(self, input: Option<Vec<SubnetMapping>>) -> Self
pub fn set_subnet_mappings(self, input: Option<Vec<SubnetMapping>>) -> Self
The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.
sourcepub fn delete_protection(self, input: bool) -> Self
pub fn delete_protection(self, input: bool) -> Self
A flag indicating whether it is possible to delete the firewall. A setting of TRUE
indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE
.
sourcepub fn set_delete_protection(self, input: Option<bool>) -> Self
pub fn set_delete_protection(self, input: Option<bool>) -> Self
A flag indicating whether it is possible to delete the firewall. A setting of TRUE
indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE
.
sourcepub fn subnet_change_protection(self, input: bool) -> Self
pub fn subnet_change_protection(self, input: bool) -> Self
A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE
.
sourcepub fn set_subnet_change_protection(self, input: Option<bool>) -> Self
pub fn set_subnet_change_protection(self, input: Option<bool>) -> Self
A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE
.
sourcepub fn firewall_policy_change_protection(self, input: bool) -> Self
pub fn firewall_policy_change_protection(self, input: bool) -> Self
A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE
.
sourcepub fn set_firewall_policy_change_protection(self, input: Option<bool>) -> Self
pub fn set_firewall_policy_change_protection(self, input: Option<bool>) -> Self
A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE
.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the firewall.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the firewall.
sourcepub fn firewall_id(self, input: impl Into<String>) -> Self
pub fn firewall_id(self, input: impl Into<String>) -> Self
The unique identifier for the firewall.
sourcepub fn set_firewall_id(self, input: Option<String>) -> Self
pub fn set_firewall_id(self, input: Option<String>) -> Self
The unique identifier for the firewall.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
sourcepub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
pub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall.
sourcepub fn set_encryption_configuration(
self,
input: Option<EncryptionConfiguration>
) -> Self
pub fn set_encryption_configuration(
self,
input: Option<EncryptionConfiguration>
) -> Self
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall.
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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