Struct aws_sdk_migrationhubstrategy::types::builders::ResultBuilder
source · #[non_exhaustive]pub struct ResultBuilder { /* private fields */ }Expand description
A builder for Result.
Implementations§
source§impl ResultBuilder
impl ResultBuilder
sourcepub fn analysis_type(self, input: AnalysisType) -> Self
pub fn analysis_type(self, input: AnalysisType) -> Self
The error in server analysis.
sourcepub fn set_analysis_type(self, input: Option<AnalysisType>) -> Self
pub fn set_analysis_type(self, input: Option<AnalysisType>) -> Self
The error in server analysis.
sourcepub fn get_analysis_type(&self) -> &Option<AnalysisType>
pub fn get_analysis_type(&self) -> &Option<AnalysisType>
The error in server analysis.
sourcepub fn analysis_status(self, input: AnalysisStatusUnion) -> Self
pub fn analysis_status(self, input: AnalysisStatusUnion) -> Self
The error in server analysis.
sourcepub fn set_analysis_status(self, input: Option<AnalysisStatusUnion>) -> Self
pub fn set_analysis_status(self, input: Option<AnalysisStatusUnion>) -> Self
The error in server analysis.
sourcepub fn get_analysis_status(&self) -> &Option<AnalysisStatusUnion>
pub fn get_analysis_status(&self) -> &Option<AnalysisStatusUnion>
The error in server analysis.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The error in server analysis.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The error in server analysis.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The error in server analysis.
sourcepub fn antipattern_report_result_list(
self,
input: AntipatternReportResult
) -> Self
pub fn antipattern_report_result_list( self, input: AntipatternReportResult ) -> Self
Appends an item to antipattern_report_result_list.
To override the contents of this collection use set_antipattern_report_result_list.
The error in server analysis.
sourcepub fn set_antipattern_report_result_list(
self,
input: Option<Vec<AntipatternReportResult>>
) -> Self
pub fn set_antipattern_report_result_list( self, input: Option<Vec<AntipatternReportResult>> ) -> Self
The error in server analysis.
sourcepub fn get_antipattern_report_result_list(
&self
) -> &Option<Vec<AntipatternReportResult>>
pub fn get_antipattern_report_result_list( &self ) -> &Option<Vec<AntipatternReportResult>>
The error in server analysis.
Trait Implementations§
source§impl Clone for ResultBuilder
impl Clone for ResultBuilder
source§fn clone(&self) -> ResultBuilder
fn clone(&self) -> ResultBuilder
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 ResultBuilder
impl Debug for ResultBuilder
source§impl Default for ResultBuilder
impl Default for ResultBuilder
source§fn default() -> ResultBuilder
fn default() -> ResultBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ResultBuilder
impl PartialEq for ResultBuilder
source§fn eq(&self, other: &ResultBuilder) -> bool
fn eq(&self, other: &ResultBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResultBuilder
Auto Trait Implementations§
impl Freeze for ResultBuilder
impl RefUnwindSafe for ResultBuilder
impl Send for ResultBuilder
impl Sync for ResultBuilder
impl Unpin for ResultBuilder
impl UnwindSafe for ResultBuilder
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.