Interface Alias.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Alias.Builder,,Alias> SdkBuilder<Alias.Builder,,Alias> SdkPojo
- Enclosing class:
Alias
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that is assigned to a Amazon GameLift Servers alias resource and uniquely identifies it.A unique identifier for the alias.creationTime(Instant creationTime) A time stamp indicating when this data object was created.description(String description) A human-readable description of an alias.lastUpdatedTime(Instant lastUpdatedTime) The time that this data object was last modified.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.routingStrategy(RoutingStrategy routingStrategy) The routing configuration, including routing type and fleet target, for the alias.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift Servers 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 Servers 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
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
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
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:
-
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
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.
-