Struct aws_sdk_networkfirewall::operation::describe_firewall_policy::DescribeFirewallPolicyInput
source · #[non_exhaustive]pub struct DescribeFirewallPolicyInput {
pub firewall_policy_name: Option<String>,
pub firewall_policy_arn: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.firewall_policy_name: 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.
firewall_policy_arn: Option<String>
The Amazon Resource Name (ARN) of the firewall policy.
You must specify the ARN or the name, and you can specify both.
Implementations§
source§impl DescribeFirewallPolicyInput
impl DescribeFirewallPolicyInput
sourcepub fn firewall_policy_name(&self) -> Option<&str>
pub fn firewall_policy_name(&self) -> Option<&str>
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) -> Option<&str>
pub fn firewall_policy_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the firewall policy.
You must specify the ARN or the name, and you can specify both.
source§impl DescribeFirewallPolicyInput
impl DescribeFirewallPolicyInput
sourcepub fn builder() -> DescribeFirewallPolicyInputBuilder
pub fn builder() -> DescribeFirewallPolicyInputBuilder
Creates a new builder-style object to manufacture DescribeFirewallPolicyInput
.
Trait Implementations§
source§impl Clone for DescribeFirewallPolicyInput
impl Clone for DescribeFirewallPolicyInput
source§fn clone(&self) -> DescribeFirewallPolicyInput
fn clone(&self) -> DescribeFirewallPolicyInput
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 DescribeFirewallPolicyInput
impl Debug for DescribeFirewallPolicyInput
source§impl PartialEq for DescribeFirewallPolicyInput
impl PartialEq for DescribeFirewallPolicyInput
source§fn eq(&self, other: &DescribeFirewallPolicyInput) -> bool
fn eq(&self, other: &DescribeFirewallPolicyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeFirewallPolicyInput
Auto Trait Implementations§
impl Freeze for DescribeFirewallPolicyInput
impl RefUnwindSafe for DescribeFirewallPolicyInput
impl Send for DescribeFirewallPolicyInput
impl Sync for DescribeFirewallPolicyInput
impl Unpin for DescribeFirewallPolicyInput
impl UnwindSafe for DescribeFirewallPolicyInput
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
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>
Creates a shared type from an unshared type.