Class CfnGameSessionQueuePropsMixin.PriorityConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.gamelift.CfnGameSessionQueuePropsMixin.PriorityConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGameSessionQueuePropsMixin.PriorityConfigurationProperty>
- Enclosing interface:
CfnGameSessionQueuePropsMixin.PriorityConfigurationProperty
@Stability(Stable)
public static final class CfnGameSessionQueuePropsMixin.PriorityConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGameSessionQueuePropsMixin.PriorityConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.locationOrder(List<String> locationOrder) priorityOrder(List<String> priorityOrder)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
locationOrder
@Stability(Stable) public CfnGameSessionQueuePropsMixin.PriorityConfigurationProperty.Builder locationOrder(List<String> locationOrder) - Parameters:
locationOrder- The prioritization order to use for fleet locations, when thePriorityOrderproperty includesLOCATION. Locations can include AWS Region codes (such asus-west-2), local zones, and custom locations (for Anywhere fleets). Each location must be listed only once. For details, see Amazon GameLift Servers service locations.- Returns:
this
-
priorityOrder
@Stability(Stable) public CfnGameSessionQueuePropsMixin.PriorityConfigurationProperty.Builder priorityOrder(List<String> priorityOrder) - Parameters:
priorityOrder- A custom sequence to use when prioritizing where to place new game sessions. Each priority type is listed once.LATENCY-- Amazon GameLift Servers prioritizes locations where the average player latency is lowest. Player latency data is provided in each game session placement request.COST-- Amazon GameLift Servers prioritizes queue destinations with the lowest current hosting costs. Cost is evaluated based on the destination's location, instance type, and fleet type (Spot or On-Demand).DESTINATION-- Amazon GameLift Servers prioritizes based on the list order of destinations in the queue configuration.LOCATION-- Amazon GameLift Servers prioritizes based on the provided order of locations, as defined inLocationOrder.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGameSessionQueuePropsMixin.PriorityConfigurationProperty>- Returns:
- a new instance of
CfnGameSessionQueuePropsMixin.PriorityConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-