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 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<DeleteFirewallPolicyInput, BuildError>
pub fn build(self) -> Result<DeleteFirewallPolicyInput, BuildError>
Consumes the builder and constructs a DeleteFirewallPolicyInput
.
source§impl DeleteFirewallPolicyInputBuilder
impl DeleteFirewallPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteFirewallPolicyOutput, SdkError<DeleteFirewallPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteFirewallPolicyOutput, SdkError<DeleteFirewallPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteFirewallPolicyInputBuilder
impl Clone for DeleteFirewallPolicyInputBuilder
source§fn clone(&self) -> DeleteFirewallPolicyInputBuilder
fn clone(&self) -> DeleteFirewallPolicyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteFirewallPolicyInputBuilder
impl Default for DeleteFirewallPolicyInputBuilder
source§fn default() -> DeleteFirewallPolicyInputBuilder
fn default() -> DeleteFirewallPolicyInputBuilder
source§impl PartialEq for DeleteFirewallPolicyInputBuilder
impl PartialEq for DeleteFirewallPolicyInputBuilder
source§fn eq(&self, other: &DeleteFirewallPolicyInputBuilder) -> bool
fn eq(&self, other: &DeleteFirewallPolicyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteFirewallPolicyInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteFirewallPolicyInputBuilder
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
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