Interface Alias.Builder

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

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

    • aliasId

      Alias.Builder aliasId(String aliasId)

      A unique identifier for the alias. Alias IDs are unique within a Region.

      Parameters:
      aliasId - A unique identifier for the alias. Alias IDs are unique within a Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Alias.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. Alias names do not need to be unique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aliasArn

      Alias.Builder aliasArn(String aliasArn)

      The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift alias resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::alias/alias-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a GameLift alias ARN, the resource ID matches the alias ID value.

      Parameters:
      aliasArn - The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift alias resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::alias/alias-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a GameLift alias ARN, the resource ID matches the alias ID value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Alias.Builder description(String description)

      A human-readable description of an alias.

      Parameters:
      description - A human-readable description of an alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingStrategy

      Alias.Builder routingStrategy(RoutingStrategy 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingStrategy

      default Alias.Builder routingStrategy(Consumer<RoutingStrategy.Builder> routingStrategy)

      The routing configuration, including routing type and fleet target, for the alias.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to routingStrategy(RoutingStrategy).

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

      Alias.Builder creationTime(Instant creationTime)

      A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

      Parameters:
      creationTime - A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      Alias.Builder lastUpdatedTime(Instant lastUpdatedTime)

      The time that this data object was last modified. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

      Parameters:
      lastUpdatedTime - The time that this data object was last modified. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
      Returns:
      Returns a reference to this object so that method calls can be chained together.