Struct aws_sdk_iot::operation::create_topic_rule_destination::builders::CreateTopicRuleDestinationFluentBuilder
source · pub struct CreateTopicRuleDestinationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateTopicRuleDestination
.
Creates a topic rule destination. The destination must be confirmed prior to use.
Requires permission to access the CreateTopicRuleDestination action.
Implementations§
source§impl CreateTopicRuleDestinationFluentBuilder
impl CreateTopicRuleDestinationFluentBuilder
sourcepub fn as_input(&self) -> &CreateTopicRuleDestinationInputBuilder
pub fn as_input(&self) -> &CreateTopicRuleDestinationInputBuilder
Access the CreateTopicRuleDestination as a reference.
sourcepub async fn send(
self,
) -> Result<CreateTopicRuleDestinationOutput, SdkError<CreateTopicRuleDestinationError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateTopicRuleDestinationOutput, SdkError<CreateTopicRuleDestinationError, 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<CreateTopicRuleDestinationOutput, CreateTopicRuleDestinationError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateTopicRuleDestinationOutput, CreateTopicRuleDestinationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn destination_configuration(
self,
input: TopicRuleDestinationConfiguration,
) -> Self
pub fn destination_configuration( self, input: TopicRuleDestinationConfiguration, ) -> Self
The topic rule destination configuration.
sourcepub fn set_destination_configuration(
self,
input: Option<TopicRuleDestinationConfiguration>,
) -> Self
pub fn set_destination_configuration( self, input: Option<TopicRuleDestinationConfiguration>, ) -> Self
The topic rule destination configuration.
sourcepub fn get_destination_configuration(
&self,
) -> &Option<TopicRuleDestinationConfiguration>
pub fn get_destination_configuration( &self, ) -> &Option<TopicRuleDestinationConfiguration>
The topic rule destination configuration.
Trait Implementations§
source§impl Clone for CreateTopicRuleDestinationFluentBuilder
impl Clone for CreateTopicRuleDestinationFluentBuilder
source§fn clone(&self) -> CreateTopicRuleDestinationFluentBuilder
fn clone(&self) -> CreateTopicRuleDestinationFluentBuilder
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 CreateTopicRuleDestinationFluentBuilder
impl !RefUnwindSafe for CreateTopicRuleDestinationFluentBuilder
impl Send for CreateTopicRuleDestinationFluentBuilder
impl Sync for CreateTopicRuleDestinationFluentBuilder
impl Unpin for CreateTopicRuleDestinationFluentBuilder
impl !UnwindSafe for CreateTopicRuleDestinationFluentBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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