Struct aws_sdk_iotroborunner::operation::create_destination::builders::CreateDestinationInputBuilder
source · #[non_exhaustive]pub struct CreateDestinationInputBuilder { /* private fields */ }Expand description
A builder for CreateDestinationInput.
Implementations§
source§impl CreateDestinationInputBuilder
impl CreateDestinationInputBuilder
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
sourcepub fn build(self) -> Result<CreateDestinationInput, BuildError>
pub fn build(self) -> Result<CreateDestinationInput, BuildError>
Consumes the builder and constructs a CreateDestinationInput.
source§impl CreateDestinationInputBuilder
impl CreateDestinationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDestinationOutput, SdkError<CreateDestinationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDestinationOutput, SdkError<CreateDestinationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDestinationInputBuilder
impl Clone for CreateDestinationInputBuilder
source§fn clone(&self) -> CreateDestinationInputBuilder
fn clone(&self) -> CreateDestinationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDestinationInputBuilder
impl Default for CreateDestinationInputBuilder
source§fn default() -> CreateDestinationInputBuilder
fn default() -> CreateDestinationInputBuilder
source§impl PartialEq<CreateDestinationInputBuilder> for CreateDestinationInputBuilder
impl PartialEq<CreateDestinationInputBuilder> for CreateDestinationInputBuilder
source§fn eq(&self, other: &CreateDestinationInputBuilder) -> bool
fn eq(&self, other: &CreateDestinationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.