Struct aws_sdk_sfn::operation::create_state_machine_alias::builders::CreateStateMachineAliasInputBuilder
source · #[non_exhaustive]pub struct CreateStateMachineAliasInputBuilder { /* private fields */ }Expand description
A builder for CreateStateMachineAliasInput.
Implementations§
source§impl CreateStateMachineAliasInputBuilder
impl CreateStateMachineAliasInputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the state machine alias.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the state machine alias.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the state machine alias.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the state machine alias.
To avoid conflict with version ARNs, don't use an integer in the name of the alias.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the state machine alias.
To avoid conflict with version ARNs, don't use an integer in the name of the alias.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the state machine alias.
To avoid conflict with version ARNs, don't use an integer in the name of the alias.
sourcepub fn routing_configuration(self, input: RoutingConfigurationListItem) -> Self
pub fn routing_configuration(self, input: RoutingConfigurationListItem) -> Self
Appends an item to routing_configuration.
To override the contents of this collection use set_routing_configuration.
The routing configuration of a state machine alias. The routing configuration shifts execution traffic between two state machine versions. routingConfiguration contains an array of RoutingConfig objects that specify up to two state machine versions. Step Functions then randomly choses which version to run an execution with based on the weight assigned to each RoutingConfig.
sourcepub fn set_routing_configuration(
self,
input: Option<Vec<RoutingConfigurationListItem>>
) -> Self
pub fn set_routing_configuration( self, input: Option<Vec<RoutingConfigurationListItem>> ) -> Self
The routing configuration of a state machine alias. The routing configuration shifts execution traffic between two state machine versions. routingConfiguration contains an array of RoutingConfig objects that specify up to two state machine versions. Step Functions then randomly choses which version to run an execution with based on the weight assigned to each RoutingConfig.
sourcepub fn get_routing_configuration(
&self
) -> &Option<Vec<RoutingConfigurationListItem>>
pub fn get_routing_configuration( &self ) -> &Option<Vec<RoutingConfigurationListItem>>
The routing configuration of a state machine alias. The routing configuration shifts execution traffic between two state machine versions. routingConfiguration contains an array of RoutingConfig objects that specify up to two state machine versions. Step Functions then randomly choses which version to run an execution with based on the weight assigned to each RoutingConfig.
sourcepub fn build(self) -> Result<CreateStateMachineAliasInput, BuildError>
pub fn build(self) -> Result<CreateStateMachineAliasInput, BuildError>
Consumes the builder and constructs a CreateStateMachineAliasInput.
source§impl CreateStateMachineAliasInputBuilder
impl CreateStateMachineAliasInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateStateMachineAliasOutput, SdkError<CreateStateMachineAliasError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateStateMachineAliasOutput, SdkError<CreateStateMachineAliasError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateStateMachineAliasInputBuilder
impl Clone for CreateStateMachineAliasInputBuilder
source§fn clone(&self) -> CreateStateMachineAliasInputBuilder
fn clone(&self) -> CreateStateMachineAliasInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateStateMachineAliasInputBuilder
impl Default for CreateStateMachineAliasInputBuilder
source§fn default() -> CreateStateMachineAliasInputBuilder
fn default() -> CreateStateMachineAliasInputBuilder
source§impl PartialEq for CreateStateMachineAliasInputBuilder
impl PartialEq for CreateStateMachineAliasInputBuilder
source§fn eq(&self, other: &CreateStateMachineAliasInputBuilder) -> bool
fn eq(&self, other: &CreateStateMachineAliasInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateStateMachineAliasInputBuilder
Auto Trait Implementations§
impl Freeze for CreateStateMachineAliasInputBuilder
impl RefUnwindSafe for CreateStateMachineAliasInputBuilder
impl Send for CreateStateMachineAliasInputBuilder
impl Sync for CreateStateMachineAliasInputBuilder
impl Unpin for CreateStateMachineAliasInputBuilder
impl UnwindSafe for CreateStateMachineAliasInputBuilder
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