Struct aws_sdk_config::operation::start_remediation_execution::builders::StartRemediationExecutionOutputBuilder
source · #[non_exhaustive]pub struct StartRemediationExecutionOutputBuilder { /* private fields */ }Expand description
A builder for StartRemediationExecutionOutput.
Implementations§
source§impl StartRemediationExecutionOutputBuilder
impl StartRemediationExecutionOutputBuilder
sourcepub fn failure_message(self, input: impl Into<String>) -> Self
pub fn failure_message(self, input: impl Into<String>) -> Self
Returns a failure message. For example, the resource is already compliant.
sourcepub fn set_failure_message(self, input: Option<String>) -> Self
pub fn set_failure_message(self, input: Option<String>) -> Self
Returns a failure message. For example, the resource is already compliant.
sourcepub fn get_failure_message(&self) -> &Option<String>
pub fn get_failure_message(&self) -> &Option<String>
Returns a failure message. For example, the resource is already compliant.
sourcepub fn failed_items(self, input: ResourceKey) -> Self
pub fn failed_items(self, input: ResourceKey) -> Self
Appends an item to failed_items.
To override the contents of this collection use set_failed_items.
For resources that have failed to start execution, the API returns a resource key object.
sourcepub fn set_failed_items(self, input: Option<Vec<ResourceKey>>) -> Self
pub fn set_failed_items(self, input: Option<Vec<ResourceKey>>) -> Self
For resources that have failed to start execution, the API returns a resource key object.
sourcepub fn get_failed_items(&self) -> &Option<Vec<ResourceKey>>
pub fn get_failed_items(&self) -> &Option<Vec<ResourceKey>>
For resources that have failed to start execution, the API returns a resource key object.
sourcepub fn build(self) -> StartRemediationExecutionOutput
pub fn build(self) -> StartRemediationExecutionOutput
Consumes the builder and constructs a StartRemediationExecutionOutput.
Trait Implementations§
source§impl Clone for StartRemediationExecutionOutputBuilder
impl Clone for StartRemediationExecutionOutputBuilder
source§fn clone(&self) -> StartRemediationExecutionOutputBuilder
fn clone(&self) -> StartRemediationExecutionOutputBuilder
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 Default for StartRemediationExecutionOutputBuilder
impl Default for StartRemediationExecutionOutputBuilder
source§fn default() -> StartRemediationExecutionOutputBuilder
fn default() -> StartRemediationExecutionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StartRemediationExecutionOutputBuilder
impl PartialEq for StartRemediationExecutionOutputBuilder
source§fn eq(&self, other: &StartRemediationExecutionOutputBuilder) -> bool
fn eq(&self, other: &StartRemediationExecutionOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartRemediationExecutionOutputBuilder
Auto Trait Implementations§
impl Freeze for StartRemediationExecutionOutputBuilder
impl RefUnwindSafe for StartRemediationExecutionOutputBuilder
impl Send for StartRemediationExecutionOutputBuilder
impl Sync for StartRemediationExecutionOutputBuilder
impl Unpin for StartRemediationExecutionOutputBuilder
impl UnwindSafe for StartRemediationExecutionOutputBuilder
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> 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)
🔬This is a nightly-only experimental API. (
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>
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.