Struct aws_sdk_networkfirewall::model::firewall_status::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for FirewallStatus
Implementations
sourceimpl Builder
impl Builder
sourcepub fn status(self, input: FirewallStatusValue) -> Self
pub fn status(self, input: FirewallStatusValue) -> Self
The readiness of the configured firewall to handle network traffic across all of the Availability Zones where you've configured it. This setting is READY
only when the ConfigurationSyncStateSummary
value is IN_SYNC
and the Attachment
Status
values for all of the configured subnets are READY
.
sourcepub fn set_status(self, input: Option<FirewallStatusValue>) -> Self
pub fn set_status(self, input: Option<FirewallStatusValue>) -> Self
The readiness of the configured firewall to handle network traffic across all of the Availability Zones where you've configured it. This setting is READY
only when the ConfigurationSyncStateSummary
value is IN_SYNC
and the Attachment
Status
values for all of the configured subnets are READY
.
sourcepub fn configuration_sync_state_summary(
self,
input: ConfigurationSyncState
) -> Self
pub fn configuration_sync_state_summary(
self,
input: ConfigurationSyncState
) -> Self
The configuration sync state for the firewall. This summarizes the sync states reported in the Config
settings for all of the Availability Zones where you have configured the firewall.
When you create a firewall or update its configuration, for example by adding a rule group to its firewall policy, Network Firewall distributes the configuration changes to all zones where the firewall is in use. This summary indicates whether the configuration changes have been applied everywhere.
This status must be IN_SYNC
for the firewall to be ready for use, but it doesn't indicate that the firewall is ready. The Status
setting indicates firewall readiness.
sourcepub fn set_configuration_sync_state_summary(
self,
input: Option<ConfigurationSyncState>
) -> Self
pub fn set_configuration_sync_state_summary(
self,
input: Option<ConfigurationSyncState>
) -> Self
The configuration sync state for the firewall. This summarizes the sync states reported in the Config
settings for all of the Availability Zones where you have configured the firewall.
When you create a firewall or update its configuration, for example by adding a rule group to its firewall policy, Network Firewall distributes the configuration changes to all zones where the firewall is in use. This summary indicates whether the configuration changes have been applied everywhere.
This status must be IN_SYNC
for the firewall to be ready for use, but it doesn't indicate that the firewall is ready. The Status
setting indicates firewall readiness.
sourcepub fn sync_states(self, k: impl Into<String>, v: SyncState) -> Self
pub fn sync_states(self, k: impl Into<String>, v: SyncState) -> Self
Adds a key-value pair to sync_states
.
To override the contents of this collection use set_sync_states
.
The subnets that you've configured for use by the Network Firewall firewall. This contains one array element per Availability Zone where you've configured a subnet. These objects provide details of the information that is summarized in the ConfigurationSyncStateSummary
and Status
, broken down by zone and configuration object.
sourcepub fn set_sync_states(self, input: Option<HashMap<String, SyncState>>) -> Self
pub fn set_sync_states(self, input: Option<HashMap<String, SyncState>>) -> Self
The subnets that you've configured for use by the Network Firewall firewall. This contains one array element per Availability Zone where you've configured a subnet. These objects provide details of the information that is summarized in the ConfigurationSyncStateSummary
and Status
, broken down by zone and configuration object.
sourcepub fn build(self) -> FirewallStatus
pub fn build(self) -> FirewallStatus
Consumes the builder and constructs a FirewallStatus
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