Class CfnAlias.Builder

java.lang.Object
software.amazon.awscdk.services.gamelift.CfnAlias.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlias>
Enclosing class:
CfnAlias

@Stability(Stable) public static final class CfnAlias.Builder extends Object implements software.amazon.jsii.Builder<CfnAlias>
A fluent builder for CfnAlias.
  • Method Details

    • create

      @Stability(Stable) public static CfnAlias.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnAlias.Builder.
    • name

      @Stability(Stable) public CfnAlias.Builder name(String name)
      A descriptive label that is associated with an alias.

      Alias names do not need to be unique.

      Parameters:
      name - A descriptive label that is associated with an alias. This parameter is required.
      Returns:
      this
    • routingStrategy

      @Stability(Stable) public CfnAlias.Builder routingStrategy(CfnAlias.RoutingStrategyProperty routingStrategy)
      The routing configuration, including routing type and fleet target, for the alias.

      Parameters:
      routingStrategy - The routing configuration, including routing type and fleet target, for the alias. This parameter is required.
      Returns:
      this
    • routingStrategy

      @Stability(Stable) public CfnAlias.Builder routingStrategy(IResolvable routingStrategy)
      The routing configuration, including routing type and fleet target, for the alias.

      Parameters:
      routingStrategy - The routing configuration, including routing type and fleet target, for the alias. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnAlias.Builder description(String description)
      A human-readable description of the alias.

      Parameters:
      description - A human-readable description of the alias. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnAlias build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnAlias>
      Returns:
      a newly built instance of CfnAlias.