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