#[non_exhaustive]pub struct UpdateReceiptRuleInputBuilder { /* private fields */ }
Expand description
A builder for UpdateReceiptRuleInput
.
Implementations§
source§impl UpdateReceiptRuleInputBuilder
impl UpdateReceiptRuleInputBuilder
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.
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
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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateReceiptRuleInput, BuildError>
pub fn build(self) -> Result<UpdateReceiptRuleInput, BuildError>
Consumes the builder and constructs a UpdateReceiptRuleInput
.
source§impl UpdateReceiptRuleInputBuilder
impl UpdateReceiptRuleInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateReceiptRuleOutput, SdkError<UpdateReceiptRuleError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateReceiptRuleOutput, SdkError<UpdateReceiptRuleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateReceiptRuleInputBuilder
impl Clone for UpdateReceiptRuleInputBuilder
source§fn clone(&self) -> UpdateReceiptRuleInputBuilder
fn clone(&self) -> UpdateReceiptRuleInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateReceiptRuleInputBuilder
impl Default for UpdateReceiptRuleInputBuilder
source§fn default() -> UpdateReceiptRuleInputBuilder
fn default() -> UpdateReceiptRuleInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateReceiptRuleInputBuilder
impl PartialEq for UpdateReceiptRuleInputBuilder
source§fn eq(&self, other: &UpdateReceiptRuleInputBuilder) -> bool
fn eq(&self, other: &UpdateReceiptRuleInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateReceiptRuleInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateReceiptRuleInputBuilder
impl RefUnwindSafe for UpdateReceiptRuleInputBuilder
impl Send for UpdateReceiptRuleInputBuilder
impl Sync for UpdateReceiptRuleInputBuilder
impl Unpin for UpdateReceiptRuleInputBuilder
impl UnwindSafe for UpdateReceiptRuleInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.