Interface UpdateStateMachineAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateStateMachineAliasRequest.Builder,
,UpdateStateMachineAliasRequest> SdkBuilder<UpdateStateMachineAliasRequest.Builder,
,UpdateStateMachineAliasRequest> SdkPojo
,SdkRequest.Builder
,SfnRequest.Builder
- Enclosing class:
UpdateStateMachineAliasRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the state machine alias.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.routingConfiguration
(Collection<RoutingConfigurationListItem> routingConfiguration) The routing configuration of the state machine alias.routingConfiguration
(Consumer<RoutingConfigurationListItem.Builder>... routingConfiguration) The routing configuration of the state machine alias.routingConfiguration
(RoutingConfigurationListItem... routingConfiguration) The routing configuration of the state machine alias.stateMachineAliasArn
(String stateMachineAliasArn) The Amazon Resource Name (ARN) of the state machine alias.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnRequest.Builder
build
-
Method Details
-
stateMachineAliasArn
The Amazon Resource Name (ARN) of the state machine alias.
- Parameters:
stateMachineAliasArn
- The Amazon Resource Name (ARN) of the state machine alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the state machine alias.
- Parameters:
description
- A description of the state machine alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
UpdateStateMachineAliasRequest.Builder routingConfiguration(Collection<RoutingConfigurationListItem> routingConfiguration) The routing configuration of the state machine alias.
An array of
RoutingConfig
objects that specifies up to two state machine versions that the alias starts executions for.- Parameters:
routingConfiguration
- The routing configuration of the state machine alias.An array of
RoutingConfig
objects that specifies up to two state machine versions that the alias starts executions for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
UpdateStateMachineAliasRequest.Builder routingConfiguration(RoutingConfigurationListItem... routingConfiguration) The routing configuration of the state machine alias.
An array of
RoutingConfig
objects that specifies up to two state machine versions that the alias starts executions for.- Parameters:
routingConfiguration
- The routing configuration of the state machine alias.An array of
RoutingConfig
objects that specifies up to two state machine versions that the alias starts executions for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
UpdateStateMachineAliasRequest.Builder routingConfiguration(Consumer<RoutingConfigurationListItem.Builder>... routingConfiguration) The routing configuration of the state machine alias.
An array of
This is a convenience method that creates an instance of theRoutingConfig
objects that specifies up to two state machine versions that the alias starts executions for.RoutingConfigurationListItem.Builder
avoiding the need to create one manually viaRoutingConfigurationListItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutingConfiguration(List<RoutingConfigurationListItem>)
.- Parameters:
routingConfiguration
- a consumer that will call methods onRoutingConfigurationListItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateStateMachineAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateStateMachineAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-