Struct aws_sdk_networkfirewall::operation::describe_firewall_policy::builders::DescribeFirewallPolicyInputBuilder
source · #[non_exhaustive]pub struct DescribeFirewallPolicyInputBuilder { /* private fields */ }
Expand description
A builder for DescribeFirewallPolicyInput
.
Implementations§
source§impl DescribeFirewallPolicyInputBuilder
impl DescribeFirewallPolicyInputBuilder
sourcepub fn firewall_policy_name(self, input: impl Into<String>) -> Self
pub fn firewall_policy_name(self, input: impl Into<String>) -> Self
The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
You must specify the ARN or the name, and you can specify both.
sourcepub fn set_firewall_policy_name(self, input: Option<String>) -> Self
pub fn set_firewall_policy_name(self, input: Option<String>) -> Self
The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
You must specify the ARN or the name, and you can specify both.
sourcepub fn get_firewall_policy_name(&self) -> &Option<String>
pub fn get_firewall_policy_name(&self) -> &Option<String>
The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
You must specify the ARN or the name, and you can specify both.
sourcepub fn firewall_policy_arn(self, input: impl Into<String>) -> Self
pub fn firewall_policy_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the firewall policy.
You must specify the ARN or the name, and you can specify both.
sourcepub fn set_firewall_policy_arn(self, input: Option<String>) -> Self
pub fn set_firewall_policy_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the firewall policy.
You must specify the ARN or the name, and you can specify both.
sourcepub fn get_firewall_policy_arn(&self) -> &Option<String>
pub fn get_firewall_policy_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the firewall policy.
You must specify the ARN or the name, and you can specify both.
sourcepub fn build(self) -> Result<DescribeFirewallPolicyInput, BuildError>
pub fn build(self) -> Result<DescribeFirewallPolicyInput, BuildError>
Consumes the builder and constructs a DescribeFirewallPolicyInput
.
source§impl DescribeFirewallPolicyInputBuilder
impl DescribeFirewallPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeFirewallPolicyOutput, SdkError<DescribeFirewallPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeFirewallPolicyOutput, SdkError<DescribeFirewallPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeFirewallPolicyInputBuilder
impl Clone for DescribeFirewallPolicyInputBuilder
source§fn clone(&self) -> DescribeFirewallPolicyInputBuilder
fn clone(&self) -> DescribeFirewallPolicyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeFirewallPolicyInputBuilder
impl Default for DescribeFirewallPolicyInputBuilder
source§fn default() -> DescribeFirewallPolicyInputBuilder
fn default() -> DescribeFirewallPolicyInputBuilder
source§impl PartialEq for DescribeFirewallPolicyInputBuilder
impl PartialEq for DescribeFirewallPolicyInputBuilder
source§fn eq(&self, other: &DescribeFirewallPolicyInputBuilder) -> bool
fn eq(&self, other: &DescribeFirewallPolicyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.