#[non_exhaustive]pub struct CreateRuleSetInputBuilder { /* private fields */ }Expand description
A builder for CreateRuleSetInput.
Implementations§
source§impl CreateRuleSetInputBuilder
impl CreateRuleSetInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
sourcepub fn rule_set_name(self, input: impl Into<String>) -> Self
pub fn rule_set_name(self, input: impl Into<String>) -> Self
A user-friendly name for the rule set.
This field is required.sourcepub fn set_rule_set_name(self, input: Option<String>) -> Self
pub fn set_rule_set_name(self, input: Option<String>) -> Self
A user-friendly name for the rule set.
sourcepub fn get_rule_set_name(&self) -> &Option<String>
pub fn get_rule_set_name(&self) -> &Option<String>
A user-friendly name for the rule set.
sourcepub fn rules(self, input: Rule) -> Self
pub fn rules(self, input: Rule) -> Self
Appends an item to rules.
To override the contents of this collection use set_rules.
Conditional rules that are evaluated for determining actions on email.
sourcepub fn set_rules(self, input: Option<Vec<Rule>>) -> Self
pub fn set_rules(self, input: Option<Vec<Rule>>) -> Self
Conditional rules that are evaluated for determining actions on email.
sourcepub fn get_rules(&self) -> &Option<Vec<Rule>>
pub fn get_rules(&self) -> &Option<Vec<Rule>>
Conditional rules that are evaluated for determining actions on email.
Appends an item to tags.
To override the contents of this collection use set_tags.
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn build(self) -> Result<CreateRuleSetInput, BuildError>
pub fn build(self) -> Result<CreateRuleSetInput, BuildError>
Consumes the builder and constructs a CreateRuleSetInput.
source§impl CreateRuleSetInputBuilder
impl CreateRuleSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateRuleSetOutput, SdkError<CreateRuleSetError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateRuleSetOutput, SdkError<CreateRuleSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateRuleSetInputBuilder
impl Clone for CreateRuleSetInputBuilder
source§fn clone(&self) -> CreateRuleSetInputBuilder
fn clone(&self) -> CreateRuleSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateRuleSetInputBuilder
impl Debug for CreateRuleSetInputBuilder
source§impl Default for CreateRuleSetInputBuilder
impl Default for CreateRuleSetInputBuilder
source§fn default() -> CreateRuleSetInputBuilder
fn default() -> CreateRuleSetInputBuilder
source§impl PartialEq for CreateRuleSetInputBuilder
impl PartialEq for CreateRuleSetInputBuilder
source§fn eq(&self, other: &CreateRuleSetInputBuilder) -> bool
fn eq(&self, other: &CreateRuleSetInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateRuleSetInputBuilder
Auto Trait Implementations§
impl Freeze for CreateRuleSetInputBuilder
impl RefUnwindSafe for CreateRuleSetInputBuilder
impl Send for CreateRuleSetInputBuilder
impl Sync for CreateRuleSetInputBuilder
impl Unpin for CreateRuleSetInputBuilder
impl UnwindSafe for CreateRuleSetInputBuilder
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