Struct aws_sdk_sfn::operation::validate_state_machine_definition::builders::ValidateStateMachineDefinitionInputBuilder
source · #[non_exhaustive]pub struct ValidateStateMachineDefinitionInputBuilder { /* private fields */ }Expand description
A builder for ValidateStateMachineDefinitionInput.
Implementations§
source§impl ValidateStateMachineDefinitionInputBuilder
impl ValidateStateMachineDefinitionInputBuilder
sourcepub fn definition(self, input: impl Into<String>) -> Self
pub fn definition(self, input: impl Into<String>) -> Self
The Amazon States Language definition of the state machine. For more information, see Amazon States Language (ASL).
This field is required.sourcepub fn set_definition(self, input: Option<String>) -> Self
pub fn set_definition(self, input: Option<String>) -> Self
The Amazon States Language definition of the state machine. For more information, see Amazon States Language (ASL).
sourcepub fn get_definition(&self) -> &Option<String>
pub fn get_definition(&self) -> &Option<String>
The Amazon States Language definition of the state machine. For more information, see Amazon States Language (ASL).
sourcepub fn type(self, input: StateMachineType) -> Self
pub fn type(self, input: StateMachineType) -> Self
The target type of state machine for this definition. The default is STANDARD.
sourcepub fn set_type(self, input: Option<StateMachineType>) -> Self
pub fn set_type(self, input: Option<StateMachineType>) -> Self
The target type of state machine for this definition. The default is STANDARD.
sourcepub fn get_type(&self) -> &Option<StateMachineType>
pub fn get_type(&self) -> &Option<StateMachineType>
The target type of state machine for this definition. The default is STANDARD.
sourcepub fn build(self) -> Result<ValidateStateMachineDefinitionInput, BuildError>
pub fn build(self) -> Result<ValidateStateMachineDefinitionInput, BuildError>
Consumes the builder and constructs a ValidateStateMachineDefinitionInput.
source§impl ValidateStateMachineDefinitionInputBuilder
impl ValidateStateMachineDefinitionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ValidateStateMachineDefinitionOutput, SdkError<ValidateStateMachineDefinitionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ValidateStateMachineDefinitionOutput, SdkError<ValidateStateMachineDefinitionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ValidateStateMachineDefinitionInputBuilder
impl Clone for ValidateStateMachineDefinitionInputBuilder
source§fn clone(&self) -> ValidateStateMachineDefinitionInputBuilder
fn clone(&self) -> ValidateStateMachineDefinitionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ValidateStateMachineDefinitionInputBuilder
impl Default for ValidateStateMachineDefinitionInputBuilder
source§fn default() -> ValidateStateMachineDefinitionInputBuilder
fn default() -> ValidateStateMachineDefinitionInputBuilder
source§impl PartialEq for ValidateStateMachineDefinitionInputBuilder
impl PartialEq for ValidateStateMachineDefinitionInputBuilder
source§fn eq(&self, other: &ValidateStateMachineDefinitionInputBuilder) -> bool
fn eq(&self, other: &ValidateStateMachineDefinitionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ValidateStateMachineDefinitionInputBuilder
Auto Trait Implementations§
impl Freeze for ValidateStateMachineDefinitionInputBuilder
impl RefUnwindSafe for ValidateStateMachineDefinitionInputBuilder
impl Send for ValidateStateMachineDefinitionInputBuilder
impl Sync for ValidateStateMachineDefinitionInputBuilder
impl Unpin for ValidateStateMachineDefinitionInputBuilder
impl UnwindSafe for ValidateStateMachineDefinitionInputBuilder
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