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 get_firewall_name(&self) -> &Option<String>
pub fn get_firewall_name(&self) -> &Option<String>
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 get_firewall_arn(&self) -> &Option<String>
pub fn get_firewall_arn(&self) -> &Option<String>
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
.
source§impl DescribeFirewallInputBuilder
impl DescribeFirewallInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeFirewallOutput, SdkError<DescribeFirewallError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeFirewallOutput, SdkError<DescribeFirewallError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeFirewallInputBuilder
impl Clone for DescribeFirewallInputBuilder
source§fn clone(&self) -> DescribeFirewallInputBuilder
fn clone(&self) -> DescribeFirewallInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for DescribeFirewallInputBuilder
impl PartialEq for DescribeFirewallInputBuilder
source§fn eq(&self, other: &DescribeFirewallInputBuilder) -> bool
fn eq(&self, other: &DescribeFirewallInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeFirewallInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeFirewallInputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more