Struct aws_sdk_mailmanager::operation::create_addon_instance::builders::CreateAddonInstanceFluentBuilder
source · pub struct CreateAddonInstanceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateAddonInstance
.
Creates an Add On instance for the subscription indicated in the request. The resulting Amazon Resource Name (ARN) can be used in a conditional statement for a rule set or traffic policy.
Implementations§
source§impl CreateAddonInstanceFluentBuilder
impl CreateAddonInstanceFluentBuilder
sourcepub fn as_input(&self) -> &CreateAddonInstanceInputBuilder
pub fn as_input(&self) -> &CreateAddonInstanceInputBuilder
Access the CreateAddonInstance as a reference.
sourcepub async fn send(
self
) -> Result<CreateAddonInstanceOutput, SdkError<CreateAddonInstanceError, HttpResponse>>
pub async fn send( self ) -> Result<CreateAddonInstanceOutput, SdkError<CreateAddonInstanceError, 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<CreateAddonInstanceOutput, CreateAddonInstanceError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateAddonInstanceOutput, CreateAddonInstanceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 addon_subscription_id(self, input: impl Into<String>) -> Self
pub fn addon_subscription_id(self, input: impl Into<String>) -> Self
The unique ID of a previously created subscription that an Add On instance is created for. You can only have one instance per subscription.
sourcepub fn set_addon_subscription_id(self, input: Option<String>) -> Self
pub fn set_addon_subscription_id(self, input: Option<String>) -> Self
The unique ID of a previously created subscription that an Add On instance is created for. You can only have one instance per subscription.
sourcepub fn get_addon_subscription_id(&self) -> &Option<String>
pub fn get_addon_subscription_id(&self) -> &Option<String>
The unique ID of a previously created subscription that an Add On instance is created for. You can only have one instance per subscription.
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"} }.
Trait Implementations§
source§impl Clone for CreateAddonInstanceFluentBuilder
impl Clone for CreateAddonInstanceFluentBuilder
source§fn clone(&self) -> CreateAddonInstanceFluentBuilder
fn clone(&self) -> CreateAddonInstanceFluentBuilder
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 CreateAddonInstanceFluentBuilder
impl !RefUnwindSafe for CreateAddonInstanceFluentBuilder
impl Send for CreateAddonInstanceFluentBuilder
impl Sync for CreateAddonInstanceFluentBuilder
impl Unpin for CreateAddonInstanceFluentBuilder
impl !UnwindSafe for CreateAddonInstanceFluentBuilder
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