Struct aws_sdk_sagemaker::operation::send_pipeline_execution_step_failure::builders::SendPipelineExecutionStepFailureInputBuilder
source · #[non_exhaustive]pub struct SendPipelineExecutionStepFailureInputBuilder { /* private fields */ }
Expand description
A builder for SendPipelineExecutionStepFailureInput
.
Implementations§
source§impl SendPipelineExecutionStepFailureInputBuilder
impl SendPipelineExecutionStepFailureInputBuilder
sourcepub fn callback_token(self, input: impl Into<String>) -> Self
pub fn callback_token(self, input: impl Into<String>) -> Self
The pipeline generated token from the Amazon SQS queue.
This field is required.sourcepub fn set_callback_token(self, input: Option<String>) -> Self
pub fn set_callback_token(self, input: Option<String>) -> Self
The pipeline generated token from the Amazon SQS queue.
sourcepub fn get_callback_token(&self) -> &Option<String>
pub fn get_callback_token(&self) -> &Option<String>
The pipeline generated token from the Amazon SQS queue.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
A message describing why the step failed.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
A message describing why the step failed.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
A message describing why the step failed.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time.
sourcepub fn build(self) -> Result<SendPipelineExecutionStepFailureInput, BuildError>
pub fn build(self) -> Result<SendPipelineExecutionStepFailureInput, BuildError>
Consumes the builder and constructs a SendPipelineExecutionStepFailureInput
.
source§impl SendPipelineExecutionStepFailureInputBuilder
impl SendPipelineExecutionStepFailureInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<SendPipelineExecutionStepFailureOutput, SdkError<SendPipelineExecutionStepFailureError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<SendPipelineExecutionStepFailureOutput, SdkError<SendPipelineExecutionStepFailureError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SendPipelineExecutionStepFailureInputBuilder
impl Clone for SendPipelineExecutionStepFailureInputBuilder
source§fn clone(&self) -> SendPipelineExecutionStepFailureInputBuilder
fn clone(&self) -> SendPipelineExecutionStepFailureInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SendPipelineExecutionStepFailureInputBuilder
impl Default for SendPipelineExecutionStepFailureInputBuilder
source§fn default() -> SendPipelineExecutionStepFailureInputBuilder
fn default() -> SendPipelineExecutionStepFailureInputBuilder
source§impl PartialEq for SendPipelineExecutionStepFailureInputBuilder
impl PartialEq for SendPipelineExecutionStepFailureInputBuilder
source§fn eq(&self, other: &SendPipelineExecutionStepFailureInputBuilder) -> bool
fn eq(&self, other: &SendPipelineExecutionStepFailureInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SendPipelineExecutionStepFailureInputBuilder
Auto Trait Implementations§
impl Freeze for SendPipelineExecutionStepFailureInputBuilder
impl RefUnwindSafe for SendPipelineExecutionStepFailureInputBuilder
impl Send for SendPipelineExecutionStepFailureInputBuilder
impl Sync for SendPipelineExecutionStepFailureInputBuilder
impl Unpin for SendPipelineExecutionStepFailureInputBuilder
impl UnwindSafe for SendPipelineExecutionStepFailureInputBuilder
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