Struct aws_sdk_networkfirewall::operation::delete_firewall_policy::builders::DeleteFirewallPolicyInputBuilder
source · #[non_exhaustive]pub struct DeleteFirewallPolicyInputBuilder { /* private fields */ }
Expand description
A builder for DeleteFirewallPolicyInput
.
Implementations§
source§impl DeleteFirewallPolicyInputBuilder
impl DeleteFirewallPolicyInputBuilder
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 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 build(self) -> Result<DeleteFirewallPolicyInput, BuildError>
pub fn build(self) -> Result<DeleteFirewallPolicyInput, BuildError>
Consumes the builder and constructs a DeleteFirewallPolicyInput
.
Trait Implementations§
source§impl Clone for DeleteFirewallPolicyInputBuilder
impl Clone for DeleteFirewallPolicyInputBuilder
source§fn clone(&self) -> DeleteFirewallPolicyInputBuilder
fn clone(&self) -> DeleteFirewallPolicyInputBuilder
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 Default for DeleteFirewallPolicyInputBuilder
impl Default for DeleteFirewallPolicyInputBuilder
source§fn default() -> DeleteFirewallPolicyInputBuilder
fn default() -> DeleteFirewallPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeleteFirewallPolicyInputBuilder> for DeleteFirewallPolicyInputBuilder
impl PartialEq<DeleteFirewallPolicyInputBuilder> for DeleteFirewallPolicyInputBuilder
source§fn eq(&self, other: &DeleteFirewallPolicyInputBuilder) -> bool
fn eq(&self, other: &DeleteFirewallPolicyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteFirewallPolicyInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteFirewallPolicyInputBuilder
impl Send for DeleteFirewallPolicyInputBuilder
impl Sync for DeleteFirewallPolicyInputBuilder
impl Unpin for DeleteFirewallPolicyInputBuilder
impl UnwindSafe for DeleteFirewallPolicyInputBuilder
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