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 ==
.