Struct aws_sdk_emr::types::builders::CancelStepsInfoBuilder
source · #[non_exhaustive]pub struct CancelStepsInfoBuilder { /* private fields */ }Expand description
A builder for CancelStepsInfo.
Implementations§
source§impl CancelStepsInfoBuilder
impl CancelStepsInfoBuilder
sourcepub fn set_step_id(self, input: Option<String>) -> Self
pub fn set_step_id(self, input: Option<String>) -> Self
The encrypted StepId of a step.
sourcepub fn get_step_id(&self) -> &Option<String>
pub fn get_step_id(&self) -> &Option<String>
The encrypted StepId of a step.
sourcepub fn status(self, input: CancelStepsRequestStatus) -> Self
pub fn status(self, input: CancelStepsRequestStatus) -> Self
The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.
sourcepub fn set_status(self, input: Option<CancelStepsRequestStatus>) -> Self
pub fn set_status(self, input: Option<CancelStepsRequestStatus>) -> Self
The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.
sourcepub fn get_status(&self) -> &Option<CancelStepsRequestStatus>
pub fn get_status(&self) -> &Option<CancelStepsRequestStatus>
The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
The reason for the failure if the CancelSteps request fails.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason for the failure if the CancelSteps request fails.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
The reason for the failure if the CancelSteps request fails.
sourcepub fn build(self) -> CancelStepsInfo
pub fn build(self) -> CancelStepsInfo
Consumes the builder and constructs a CancelStepsInfo.
Trait Implementations§
source§impl Clone for CancelStepsInfoBuilder
impl Clone for CancelStepsInfoBuilder
source§fn clone(&self) -> CancelStepsInfoBuilder
fn clone(&self) -> CancelStepsInfoBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CancelStepsInfoBuilder
impl Debug for CancelStepsInfoBuilder
source§impl Default for CancelStepsInfoBuilder
impl Default for CancelStepsInfoBuilder
source§fn default() -> CancelStepsInfoBuilder
fn default() -> CancelStepsInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CancelStepsInfoBuilder
impl PartialEq for CancelStepsInfoBuilder
source§fn eq(&self, other: &CancelStepsInfoBuilder) -> bool
fn eq(&self, other: &CancelStepsInfoBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CancelStepsInfoBuilder
Auto Trait Implementations§
impl Freeze for CancelStepsInfoBuilder
impl RefUnwindSafe for CancelStepsInfoBuilder
impl Send for CancelStepsInfoBuilder
impl Sync for CancelStepsInfoBuilder
impl Unpin for CancelStepsInfoBuilder
impl UnwindSafe for CancelStepsInfoBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.