Struct aws_sdk_networkfirewall::operation::describe_firewall::builders::DescribeFirewallInputBuilder
source · #[non_exhaustive]pub struct DescribeFirewallInputBuilder { /* private fields */ }
Expand description
A builder for DescribeFirewallInput
.
Implementations§
source§impl DescribeFirewallInputBuilder
impl DescribeFirewallInputBuilder
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.
You must specify the ARN or the name, and you can specify both.
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.
You must specify the ARN or the name, and you can specify both.
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.
You must specify the ARN or the name, and you can specify both.
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.
You must specify the ARN or the name, and you can specify both.
sourcepub fn build(self) -> Result<DescribeFirewallInput, BuildError>
pub fn build(self) -> Result<DescribeFirewallInput, BuildError>
Consumes the builder and constructs a DescribeFirewallInput
.
Trait Implementations§
source§impl Clone for DescribeFirewallInputBuilder
impl Clone for DescribeFirewallInputBuilder
source§fn clone(&self) -> DescribeFirewallInputBuilder
fn clone(&self) -> DescribeFirewallInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DescribeFirewallInputBuilder
impl Debug for DescribeFirewallInputBuilder
source§impl Default for DescribeFirewallInputBuilder
impl Default for DescribeFirewallInputBuilder
source§fn default() -> DescribeFirewallInputBuilder
fn default() -> DescribeFirewallInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DescribeFirewallInputBuilder> for DescribeFirewallInputBuilder
impl PartialEq<DescribeFirewallInputBuilder> for DescribeFirewallInputBuilder
source§fn eq(&self, other: &DescribeFirewallInputBuilder) -> bool
fn eq(&self, other: &DescribeFirewallInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeFirewallInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeFirewallInputBuilder
impl Send for DescribeFirewallInputBuilder
impl Sync for DescribeFirewallInputBuilder
impl Unpin for DescribeFirewallInputBuilder
impl UnwindSafe for DescribeFirewallInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more