Struct aws_sdk_networkfirewall::operation::delete_rule_group::builders::DeleteRuleGroupInputBuilder
source · #[non_exhaustive]pub struct DeleteRuleGroupInputBuilder { /* private fields */ }
Expand description
A builder for DeleteRuleGroupInput
.
Implementations§
source§impl DeleteRuleGroupInputBuilder
impl DeleteRuleGroupInputBuilder
sourcepub fn rule_group_name(self, input: impl Into<String>) -> Self
pub fn rule_group_name(self, input: impl Into<String>) -> Self
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
sourcepub fn set_rule_group_name(self, input: Option<String>) -> Self
pub fn set_rule_group_name(self, input: Option<String>) -> Self
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
sourcepub fn get_rule_group_name(&self) -> &Option<String>
pub fn get_rule_group_name(&self) -> &Option<String>
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
sourcepub fn rule_group_arn(self, input: impl Into<String>) -> Self
pub fn rule_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the rule group.
You must specify the ARN or the name, and you can specify both.
sourcepub fn set_rule_group_arn(self, input: Option<String>) -> Self
pub fn set_rule_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the rule group.
You must specify the ARN or the name, and you can specify both.
sourcepub fn get_rule_group_arn(&self) -> &Option<String>
pub fn get_rule_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the rule group.
You must specify the ARN or the name, and you can specify both.
sourcepub fn type(self, input: RuleGroupType) -> Self
pub fn type(self, input: RuleGroupType) -> Self
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
This setting is required for requests that do not include the RuleGroupARN
.
sourcepub fn set_type(self, input: Option<RuleGroupType>) -> Self
pub fn set_type(self, input: Option<RuleGroupType>) -> Self
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
This setting is required for requests that do not include the RuleGroupARN
.
sourcepub fn get_type(&self) -> &Option<RuleGroupType>
pub fn get_type(&self) -> &Option<RuleGroupType>
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
This setting is required for requests that do not include the RuleGroupARN
.
sourcepub fn build(self) -> Result<DeleteRuleGroupInput, BuildError>
pub fn build(self) -> Result<DeleteRuleGroupInput, BuildError>
Consumes the builder and constructs a DeleteRuleGroupInput
.
source§impl DeleteRuleGroupInputBuilder
impl DeleteRuleGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteRuleGroupOutput, SdkError<DeleteRuleGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteRuleGroupOutput, SdkError<DeleteRuleGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteRuleGroupInputBuilder
impl Clone for DeleteRuleGroupInputBuilder
source§fn clone(&self) -> DeleteRuleGroupInputBuilder
fn clone(&self) -> DeleteRuleGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteRuleGroupInputBuilder
impl Debug for DeleteRuleGroupInputBuilder
source§impl Default for DeleteRuleGroupInputBuilder
impl Default for DeleteRuleGroupInputBuilder
source§fn default() -> DeleteRuleGroupInputBuilder
fn default() -> DeleteRuleGroupInputBuilder
source§impl PartialEq for DeleteRuleGroupInputBuilder
impl PartialEq for DeleteRuleGroupInputBuilder
source§fn eq(&self, other: &DeleteRuleGroupInputBuilder) -> bool
fn eq(&self, other: &DeleteRuleGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteRuleGroupInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteRuleGroupInputBuilder
impl RefUnwindSafe for DeleteRuleGroupInputBuilder
impl Send for DeleteRuleGroupInputBuilder
impl Sync for DeleteRuleGroupInputBuilder
impl Unpin for DeleteRuleGroupInputBuilder
impl UnwindSafe for DeleteRuleGroupInputBuilder
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