Struct aws_sdk_iotroborunner::operation::create_destination::builders::CreateDestinationFluentBuilder
source · pub struct CreateDestinationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateDestination.
Grants permission to create a destination
Implementations§
source§impl CreateDestinationFluentBuilder
impl CreateDestinationFluentBuilder
sourcepub fn as_input(&self) -> &CreateDestinationInputBuilder
pub fn as_input(&self) -> &CreateDestinationInputBuilder
Access the CreateDestination as a reference.
sourcepub async fn send(
self
) -> Result<CreateDestinationOutput, SdkError<CreateDestinationError, HttpResponse>>
pub async fn send( self ) -> Result<CreateDestinationOutput, SdkError<CreateDestinationError, 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 async fn customize(
self
) -> Result<CustomizableOperation<CreateDestinationOutput, CreateDestinationError>, SdkError<CreateDestinationError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateDestinationOutput, CreateDestinationError>, SdkError<CreateDestinationError>>
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
Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
sourcepub fn state(self, input: DestinationState) -> Self
pub fn state(self, input: DestinationState) -> Self
The state of the destination. Default used if not specified.
sourcepub fn set_state(self, input: Option<DestinationState>) -> Self
pub fn set_state(self, input: Option<DestinationState>) -> Self
The state of the destination. Default used if not specified.
sourcepub fn get_state(&self) -> &Option<DestinationState>
pub fn get_state(&self) -> &Option<DestinationState>
The state of the destination. Default used if not specified.
sourcepub fn additional_fixed_properties(self, input: impl Into<String>) -> Self
pub fn additional_fixed_properties(self, input: impl Into<String>) -> Self
JSON document containing additional fixed properties regarding the destination
sourcepub fn set_additional_fixed_properties(self, input: Option<String>) -> Self
pub fn set_additional_fixed_properties(self, input: Option<String>) -> Self
JSON document containing additional fixed properties regarding the destination
sourcepub fn get_additional_fixed_properties(&self) -> &Option<String>
pub fn get_additional_fixed_properties(&self) -> &Option<String>
JSON document containing additional fixed properties regarding the destination
Trait Implementations§
source§impl Clone for CreateDestinationFluentBuilder
impl Clone for CreateDestinationFluentBuilder
source§fn clone(&self) -> CreateDestinationFluentBuilder
fn clone(&self) -> CreateDestinationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more