Interface CreateStateMachineAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateStateMachineAliasRequest.Builder,,CreateStateMachineAliasRequest> SdkBuilder<CreateStateMachineAliasRequest.Builder,,CreateStateMachineAliasRequest> SdkPojo,SdkRequest.Builder,SfnRequest.Builder
- Enclosing class:
- CreateStateMachineAliasRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description for the state machine alias.The name of the state machine alias.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) routingConfiguration(Collection<RoutingConfigurationListItem> routingConfiguration) The routing configuration of a state machine alias.routingConfiguration(Consumer<RoutingConfigurationListItem.Builder>... routingConfiguration) The routing configuration of a state machine alias.routingConfiguration(RoutingConfigurationListItem... routingConfiguration) The routing configuration of a state machine alias.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.sfn.model.SfnRequest.Builder
build
-
Method Details
-
description
A description for the state machine alias.
- Parameters:
description- A description for the state machine alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the state machine alias.
To avoid conflict with version ARNs, don't use an integer in the name of the alias.
- Parameters:
name- The name of the state machine alias.To avoid conflict with version ARNs, don't use an integer in the name of the alias.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
CreateStateMachineAliasRequest.Builder routingConfiguration(Collection<RoutingConfigurationListItem> routingConfiguration) The routing configuration of a state machine alias. The routing configuration shifts execution traffic between two state machine versions.
routingConfigurationcontains an array ofRoutingConfigobjects 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 eachRoutingConfig.- Parameters:
routingConfiguration- The routing configuration of a state machine alias. The routing configuration shifts execution traffic between two state machine versions.routingConfigurationcontains an array ofRoutingConfigobjects 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 eachRoutingConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
CreateStateMachineAliasRequest.Builder routingConfiguration(RoutingConfigurationListItem... routingConfiguration) The routing configuration of a state machine alias. The routing configuration shifts execution traffic between two state machine versions.
routingConfigurationcontains an array ofRoutingConfigobjects 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 eachRoutingConfig.- Parameters:
routingConfiguration- The routing configuration of a state machine alias. The routing configuration shifts execution traffic between two state machine versions.routingConfigurationcontains an array ofRoutingConfigobjects 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 eachRoutingConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
CreateStateMachineAliasRequest.Builder routingConfiguration(Consumer<RoutingConfigurationListItem.Builder>... routingConfiguration) The routing configuration of a state machine alias. The routing configuration shifts execution traffic between two state machine versions.
This is a convenience method that creates an instance of theroutingConfigurationcontains an array ofRoutingConfigobjects 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 eachRoutingConfig.RoutingConfigurationListItem.Builderavoiding the need to create one manually viaRoutingConfigurationListItem.builder().When the
Consumercompletes,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
CreateStateMachineAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateStateMachineAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-