pub struct PutOutcomeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutOutcome
.
Creates or updates an outcome.
Implementations§
source§impl PutOutcomeFluentBuilder
impl PutOutcomeFluentBuilder
sourcepub fn as_input(&self) -> &PutOutcomeInputBuilder
pub fn as_input(&self) -> &PutOutcomeInputBuilder
Access the PutOutcome as a reference.
sourcepub async fn send(
self
) -> Result<PutOutcomeOutput, SdkError<PutOutcomeError, HttpResponse>>
pub async fn send( self ) -> Result<PutOutcomeOutput, SdkError<PutOutcomeError, 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<PutOutcomeOutput, PutOutcomeError, Self>
pub fn customize( self ) -> CustomizableOperation<PutOutcomeOutput, PutOutcomeError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The outcome description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The outcome description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The outcome description.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A collection of key and value pairs.
A collection of key and value pairs.
A collection of key and value pairs.
Trait Implementations§
source§impl Clone for PutOutcomeFluentBuilder
impl Clone for PutOutcomeFluentBuilder
source§fn clone(&self) -> PutOutcomeFluentBuilder
fn clone(&self) -> PutOutcomeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more