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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Alias.BuilderaliasArn(String aliasArn)The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift alias resource and uniquely identifies it.Alias.BuilderaliasId(String aliasId)A unique identifier for the alias.Alias.BuildercreationTime(Instant creationTime)A time stamp indicating when this data object was created.Alias.Builderdescription(String description)A human-readable description of an alias.Alias.BuilderlastUpdatedTime(Instant lastUpdatedTime)The time that this data object was last modified.Alias.Buildername(String name)A descriptive label that is associated with an alias.default Alias.BuilderroutingStrategy(Consumer<RoutingStrategy.Builder> routingStrategy)The routing configuration, including routing type and fleet target, for the alias.Alias.BuilderroutingStrategy(RoutingStrategy routingStrategy)The routing configuration, including routing type and fleet target, for the alias.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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 isarn: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 theRoutingStrategy.Builderavoiding the need to create one manually viaRoutingStrategy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingStrategy(RoutingStrategy).- Parameters:
routingStrategy- a consumer that will call methods onRoutingStrategy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
routingStrategy(RoutingStrategy)
-
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.
-
-