Interface RoutingStrategy.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RoutingStrategy.Builder,RoutingStrategy>, SdkBuilder<RoutingStrategy.Builder,RoutingStrategy>, SdkPojo
Enclosing class:
RoutingStrategy

public static interface RoutingStrategy.Builder extends SdkPojo, CopyableBuilder<RoutingStrategy.Builder,RoutingStrategy>
  • Method Details

    • type

      The type of routing strategy for the alias.

      Possible routing types include the following:

      • SIMPLE - The alias resolves to one specific fleet. Use this type when routing to active fleets.

      • TERMINAL - The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the message embedded.

      Parameters:
      type - The type of routing strategy for the alias.

      Possible routing types include the following:

      • SIMPLE - The alias resolves to one specific fleet. Use this type when routing to active fleets.

      • TERMINAL - The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the message embedded.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of routing strategy for the alias.

      Possible routing types include the following:

      • SIMPLE - The alias resolves to one specific fleet. Use this type when routing to active fleets.

      • TERMINAL - The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the message embedded.

      Parameters:
      type - The type of routing strategy for the alias.

      Possible routing types include the following:

      • SIMPLE - The alias resolves to one specific fleet. Use this type when routing to active fleets.

      • TERMINAL - The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the message embedded.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fleetId

      RoutingStrategy.Builder fleetId(String fleetId)

      A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.

      Parameters:
      fleetId - A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      RoutingStrategy.Builder message(String message)

      The message text to be used with a terminal routing strategy.

      Parameters:
      message - The message text to be used with a terminal routing strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.