Struct aws_sdk_networkfirewall::operation::describe_firewall::builders::DescribeFirewallOutputBuilder
source · #[non_exhaustive]pub struct DescribeFirewallOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeFirewallOutput
.
Implementations§
source§impl DescribeFirewallOutputBuilder
impl DescribeFirewallOutputBuilder
sourcepub fn update_token(self, input: impl Into<String>) -> Self
pub fn update_token(self, input: impl Into<String>) -> Self
An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.
To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.
To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException
. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.
sourcepub fn set_update_token(self, input: Option<String>) -> Self
pub fn set_update_token(self, input: Option<String>) -> Self
An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.
To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.
To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException
. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.
sourcepub fn get_update_token(&self) -> &Option<String>
pub fn get_update_token(&self) -> &Option<String>
An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.
To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.
To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException
. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.
sourcepub fn firewall(self, input: Firewall) -> Self
pub fn firewall(self, input: Firewall) -> Self
The configuration settings for the firewall. These settings include the firewall policy and the subnets in your VPC to use for the firewall endpoints.
sourcepub fn set_firewall(self, input: Option<Firewall>) -> Self
pub fn set_firewall(self, input: Option<Firewall>) -> Self
The configuration settings for the firewall. These settings include the firewall policy and the subnets in your VPC to use for the firewall endpoints.
sourcepub fn get_firewall(&self) -> &Option<Firewall>
pub fn get_firewall(&self) -> &Option<Firewall>
The configuration settings for the firewall. These settings include the firewall policy and the subnets in your VPC to use for the firewall endpoints.
sourcepub fn firewall_status(self, input: FirewallStatus) -> Self
pub fn firewall_status(self, input: FirewallStatus) -> Self
Detailed information about the current status of a Firewall
. You can retrieve this for a firewall by calling DescribeFirewall
and providing the firewall name and ARN.
sourcepub fn set_firewall_status(self, input: Option<FirewallStatus>) -> Self
pub fn set_firewall_status(self, input: Option<FirewallStatus>) -> Self
Detailed information about the current status of a Firewall
. You can retrieve this for a firewall by calling DescribeFirewall
and providing the firewall name and ARN.
sourcepub fn get_firewall_status(&self) -> &Option<FirewallStatus>
pub fn get_firewall_status(&self) -> &Option<FirewallStatus>
Detailed information about the current status of a Firewall
. You can retrieve this for a firewall by calling DescribeFirewall
and providing the firewall name and ARN.
sourcepub fn build(self) -> DescribeFirewallOutput
pub fn build(self) -> DescribeFirewallOutput
Consumes the builder and constructs a DescribeFirewallOutput
.
Trait Implementations§
source§impl Clone for DescribeFirewallOutputBuilder
impl Clone for DescribeFirewallOutputBuilder
source§fn clone(&self) -> DescribeFirewallOutputBuilder
fn clone(&self) -> DescribeFirewallOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeFirewallOutputBuilder
impl Default for DescribeFirewallOutputBuilder
source§fn default() -> DescribeFirewallOutputBuilder
fn default() -> DescribeFirewallOutputBuilder
source§impl PartialEq for DescribeFirewallOutputBuilder
impl PartialEq for DescribeFirewallOutputBuilder
source§fn eq(&self, other: &DescribeFirewallOutputBuilder) -> bool
fn eq(&self, other: &DescribeFirewallOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.