Struct aws_sdk_ses::operation::update_receipt_rule::builders::UpdateReceiptRuleFluentBuilder
source · pub struct UpdateReceiptRuleFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateReceiptRule
.
Updates a receipt rule.
For information about managing receipt rules, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Implementations§
source§impl UpdateReceiptRuleFluentBuilder
impl UpdateReceiptRuleFluentBuilder
sourcepub fn as_input(&self) -> &UpdateReceiptRuleInputBuilder
pub fn as_input(&self) -> &UpdateReceiptRuleInputBuilder
Access the UpdateReceiptRule as a reference.
sourcepub async fn send(
self
) -> Result<UpdateReceiptRuleOutput, SdkError<UpdateReceiptRuleError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateReceiptRuleOutput, SdkError<UpdateReceiptRuleError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateReceiptRuleOutput, UpdateReceiptRuleError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateReceiptRuleOutput, UpdateReceiptRuleError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn rule_set_name(self, input: impl Into<String>) -> Self
pub fn rule_set_name(self, input: impl Into<String>) -> Self
The name of the receipt rule set that the receipt rule belongs to.
sourcepub fn set_rule_set_name(self, input: Option<String>) -> Self
pub fn set_rule_set_name(self, input: Option<String>) -> Self
The name of the receipt rule set that the receipt rule belongs to.
sourcepub fn get_rule_set_name(&self) -> &Option<String>
pub fn get_rule_set_name(&self) -> &Option<String>
The name of the receipt rule set that the receipt rule belongs to.
sourcepub fn rule(self, input: ReceiptRule) -> Self
pub fn rule(self, input: ReceiptRule) -> Self
A data structure that contains the updated receipt rule information.
sourcepub fn set_rule(self, input: Option<ReceiptRule>) -> Self
pub fn set_rule(self, input: Option<ReceiptRule>) -> Self
A data structure that contains the updated receipt rule information.
sourcepub fn get_rule(&self) -> &Option<ReceiptRule>
pub fn get_rule(&self) -> &Option<ReceiptRule>
A data structure that contains the updated receipt rule information.
Trait Implementations§
source§impl Clone for UpdateReceiptRuleFluentBuilder
impl Clone for UpdateReceiptRuleFluentBuilder
source§fn clone(&self) -> UpdateReceiptRuleFluentBuilder
fn clone(&self) -> UpdateReceiptRuleFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateReceiptRuleFluentBuilder
impl !RefUnwindSafe for UpdateReceiptRuleFluentBuilder
impl Send for UpdateReceiptRuleFluentBuilder
impl Sync for UpdateReceiptRuleFluentBuilder
impl Unpin for UpdateReceiptRuleFluentBuilder
impl !UnwindSafe for UpdateReceiptRuleFluentBuilder
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