Struct aws_sdk_route53resolver::operation::create_firewall_rule_group::builders::CreateFirewallRuleGroupInputBuilder
source · #[non_exhaustive]pub struct CreateFirewallRuleGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateFirewallRuleGroupInput
.
Implementations§
source§impl CreateFirewallRuleGroupInputBuilder
impl CreateFirewallRuleGroupInputBuilder
sourcepub fn creator_request_id(self, input: impl Into<String>) -> Self
pub fn creator_request_id(self, input: impl Into<String>) -> Self
A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
This field is required.sourcepub fn set_creator_request_id(self, input: Option<String>) -> Self
pub fn set_creator_request_id(self, input: Option<String>) -> Self
A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
sourcepub fn get_creator_request_id(&self) -> &Option<String>
pub fn get_creator_request_id(&self) -> &Option<String>
A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A name that lets you identify the rule group, to manage and use it.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A name that lets you identify the rule group, to manage and use it.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A name that lets you identify the rule group, to manage and use it.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of the tag keys and values that you want to associate with the rule group.
A list of the tag keys and values that you want to associate with the rule group.
A list of the tag keys and values that you want to associate with the rule group.
sourcepub fn build(self) -> Result<CreateFirewallRuleGroupInput, BuildError>
pub fn build(self) -> Result<CreateFirewallRuleGroupInput, BuildError>
Consumes the builder and constructs a CreateFirewallRuleGroupInput
.
source§impl CreateFirewallRuleGroupInputBuilder
impl CreateFirewallRuleGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateFirewallRuleGroupOutput, SdkError<CreateFirewallRuleGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateFirewallRuleGroupOutput, SdkError<CreateFirewallRuleGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateFirewallRuleGroupInputBuilder
impl Clone for CreateFirewallRuleGroupInputBuilder
source§fn clone(&self) -> CreateFirewallRuleGroupInputBuilder
fn clone(&self) -> CreateFirewallRuleGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateFirewallRuleGroupInputBuilder
impl Default for CreateFirewallRuleGroupInputBuilder
source§fn default() -> CreateFirewallRuleGroupInputBuilder
fn default() -> CreateFirewallRuleGroupInputBuilder
source§impl PartialEq for CreateFirewallRuleGroupInputBuilder
impl PartialEq for CreateFirewallRuleGroupInputBuilder
source§fn eq(&self, other: &CreateFirewallRuleGroupInputBuilder) -> bool
fn eq(&self, other: &CreateFirewallRuleGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateFirewallRuleGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateFirewallRuleGroupInputBuilder
impl RefUnwindSafe for CreateFirewallRuleGroupInputBuilder
impl Send for CreateFirewallRuleGroupInputBuilder
impl Sync for CreateFirewallRuleGroupInputBuilder
impl Unpin for CreateFirewallRuleGroupInputBuilder
impl UnwindSafe for CreateFirewallRuleGroupInputBuilder
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