#[non_exhaustive]pub struct RedriveExecutionInputBuilder { /* private fields */ }Expand description
A builder for RedriveExecutionInput.
Implementations§
source§impl RedriveExecutionInputBuilder
impl RedriveExecutionInputBuilder
sourcepub fn execution_arn(self, input: impl Into<String>) -> Self
pub fn execution_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the execution to be redriven.
This field is required.sourcepub fn set_execution_arn(self, input: Option<String>) -> Self
pub fn set_execution_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the execution to be redriven.
sourcepub fn get_execution_arn(&self) -> &Option<String>
pub fn get_execution_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the execution to be redriven.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency. The API will return idempotent responses for the last 10 client tokens used to successfully redrive the execution. These client tokens are valid for up to 15 minutes after they are first used.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency. The API will return idempotent responses for the last 10 client tokens used to successfully redrive the execution. These client tokens are valid for up to 15 minutes after they are first used.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency. The API will return idempotent responses for the last 10 client tokens used to successfully redrive the execution. These client tokens are valid for up to 15 minutes after they are first used.
sourcepub fn build(self) -> Result<RedriveExecutionInput, BuildError>
pub fn build(self) -> Result<RedriveExecutionInput, BuildError>
Consumes the builder and constructs a RedriveExecutionInput.
source§impl RedriveExecutionInputBuilder
impl RedriveExecutionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RedriveExecutionOutput, SdkError<RedriveExecutionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RedriveExecutionOutput, SdkError<RedriveExecutionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RedriveExecutionInputBuilder
impl Clone for RedriveExecutionInputBuilder
source§fn clone(&self) -> RedriveExecutionInputBuilder
fn clone(&self) -> RedriveExecutionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RedriveExecutionInputBuilder
impl Debug for RedriveExecutionInputBuilder
source§impl Default for RedriveExecutionInputBuilder
impl Default for RedriveExecutionInputBuilder
source§fn default() -> RedriveExecutionInputBuilder
fn default() -> RedriveExecutionInputBuilder
source§impl PartialEq for RedriveExecutionInputBuilder
impl PartialEq for RedriveExecutionInputBuilder
source§fn eq(&self, other: &RedriveExecutionInputBuilder) -> bool
fn eq(&self, other: &RedriveExecutionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.