Struct aws_sdk_sfn::operation::validate_state_machine_definition::builders::ValidateStateMachineDefinitionOutputBuilder
source · #[non_exhaustive]pub struct ValidateStateMachineDefinitionOutputBuilder { /* private fields */ }Expand description
A builder for ValidateStateMachineDefinitionOutput.
Implementations§
source§impl ValidateStateMachineDefinitionOutputBuilder
impl ValidateStateMachineDefinitionOutputBuilder
sourcepub fn result(self, input: ValidateStateMachineDefinitionResultCode) -> Self
pub fn result(self, input: ValidateStateMachineDefinitionResultCode) -> Self
The result value will be OK when no syntax errors are found, or FAIL if the workflow definition does not pass verification.
sourcepub fn set_result(
self,
input: Option<ValidateStateMachineDefinitionResultCode>
) -> Self
pub fn set_result( self, input: Option<ValidateStateMachineDefinitionResultCode> ) -> Self
The result value will be OK when no syntax errors are found, or FAIL if the workflow definition does not pass verification.
sourcepub fn get_result(&self) -> &Option<ValidateStateMachineDefinitionResultCode>
pub fn get_result(&self) -> &Option<ValidateStateMachineDefinitionResultCode>
The result value will be OK when no syntax errors are found, or FAIL if the workflow definition does not pass verification.
sourcepub fn diagnostics(
self,
input: ValidateStateMachineDefinitionDiagnostic
) -> Self
pub fn diagnostics( self, input: ValidateStateMachineDefinitionDiagnostic ) -> Self
Appends an item to diagnostics.
To override the contents of this collection use set_diagnostics.
If the result is OK, this field will be empty. When there are errors, this field will contain an array of Diagnostic objects to help you troubleshoot.
sourcepub fn set_diagnostics(
self,
input: Option<Vec<ValidateStateMachineDefinitionDiagnostic>>
) -> Self
pub fn set_diagnostics( self, input: Option<Vec<ValidateStateMachineDefinitionDiagnostic>> ) -> Self
If the result is OK, this field will be empty. When there are errors, this field will contain an array of Diagnostic objects to help you troubleshoot.
sourcepub fn get_diagnostics(
&self
) -> &Option<Vec<ValidateStateMachineDefinitionDiagnostic>>
pub fn get_diagnostics( &self ) -> &Option<Vec<ValidateStateMachineDefinitionDiagnostic>>
If the result is OK, this field will be empty. When there are errors, this field will contain an array of Diagnostic objects to help you troubleshoot.
sourcepub fn build(self) -> Result<ValidateStateMachineDefinitionOutput, BuildError>
pub fn build(self) -> Result<ValidateStateMachineDefinitionOutput, BuildError>
Consumes the builder and constructs a ValidateStateMachineDefinitionOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ValidateStateMachineDefinitionOutputBuilder
impl Clone for ValidateStateMachineDefinitionOutputBuilder
source§fn clone(&self) -> ValidateStateMachineDefinitionOutputBuilder
fn clone(&self) -> ValidateStateMachineDefinitionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ValidateStateMachineDefinitionOutputBuilder
impl Default for ValidateStateMachineDefinitionOutputBuilder
source§fn default() -> ValidateStateMachineDefinitionOutputBuilder
fn default() -> ValidateStateMachineDefinitionOutputBuilder
source§impl PartialEq for ValidateStateMachineDefinitionOutputBuilder
impl PartialEq for ValidateStateMachineDefinitionOutputBuilder
source§fn eq(&self, other: &ValidateStateMachineDefinitionOutputBuilder) -> bool
fn eq(&self, other: &ValidateStateMachineDefinitionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ValidateStateMachineDefinitionOutputBuilder
Auto Trait Implementations§
impl Freeze for ValidateStateMachineDefinitionOutputBuilder
impl RefUnwindSafe for ValidateStateMachineDefinitionOutputBuilder
impl Send for ValidateStateMachineDefinitionOutputBuilder
impl Sync for ValidateStateMachineDefinitionOutputBuilder
impl Unpin for ValidateStateMachineDefinitionOutputBuilder
impl UnwindSafe for ValidateStateMachineDefinitionOutputBuilder
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> 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