Interface CreateStateMachineAliasRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateStateMachineAliasRequest.Builder,CreateStateMachineAliasRequest>, SdkBuilder<CreateStateMachineAliasRequest.Builder,CreateStateMachineAliasRequest>, SdkPojo, SdkRequest.Builder, SfnRequest.Builder
Enclosing class:
CreateStateMachineAliasRequest

public static interface CreateStateMachineAliasRequest.Builder extends SfnRequest.Builder, SdkPojo, CopyableBuilder<CreateStateMachineAliasRequest.Builder,CreateStateMachineAliasRequest>
  • 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

      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.

      Parameters:
      routingConfiguration - 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.
      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. 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.

      Parameters:
      routingConfiguration - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingConfiguration

      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.

      This is a convenience method that creates an instance of the RoutingConfigurationListItem.Builder avoiding the need to create one manually via RoutingConfigurationListItem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to routingConfiguration(List<RoutingConfigurationListItem>).

      Parameters:
      routingConfiguration - a consumer that will call methods on RoutingConfigurationListItem.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateStateMachineAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.