public static final class CfnGameSessionQueueProps.Builder
extends java.lang.Object
CfnGameSessionQueueProps
Constructor and Description |
---|
Builder() |
public CfnGameSessionQueueProps.Builder name(java.lang.String name)
CfnGameSessionQueueProps.getName()
name
- A descriptive label that is associated with game session queue. This parameter is required.
Queue names must be unique within each Region.this
public CfnGameSessionQueueProps.Builder customEventData(java.lang.String customEventData)
CfnGameSessionQueueProps.getCustomEventData()
customEventData
- Information to be added to all events that are related to this game session queue.this
public CfnGameSessionQueueProps.Builder destinations(IResolvable destinations)
CfnGameSessionQueueProps.getDestinations()
destinations
- A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.this
public CfnGameSessionQueueProps.Builder destinations(java.util.List<? extends java.lang.Object> destinations)
CfnGameSessionQueueProps.getDestinations()
destinations
- A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.this
public CfnGameSessionQueueProps.Builder filterConfiguration(IResolvable filterConfiguration)
CfnGameSessionQueueProps.getFilterConfiguration()
filterConfiguration
- A list of locations where a queue is allowed to place new game sessions.
Locations are specified in the form of AWS Region codes, such as us-west-2
. If this parameter is not set, game sessions can be placed in any queue location.this
public CfnGameSessionQueueProps.Builder filterConfiguration(CfnGameSessionQueue.FilterConfigurationProperty filterConfiguration)
CfnGameSessionQueueProps.getFilterConfiguration()
filterConfiguration
- A list of locations where a queue is allowed to place new game sessions.
Locations are specified in the form of AWS Region codes, such as us-west-2
. If this parameter is not set, game sessions can be placed in any queue location.this
public CfnGameSessionQueueProps.Builder notificationTarget(java.lang.String notificationTarget)
CfnGameSessionQueueProps.getNotificationTarget()
notificationTarget
- An SNS topic ARN that is set up to receive game session placement notifications.
See Setting up notifications for game session placement .this
public CfnGameSessionQueueProps.Builder playerLatencyPolicies(IResolvable playerLatencyPolicies)
CfnGameSessionQueueProps.getPlayerLatencyPolicies()
playerLatencyPolicies
- A set of policies that act as a sliding cap on player latency.
FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value.this
public CfnGameSessionQueueProps.Builder playerLatencyPolicies(java.util.List<? extends java.lang.Object> playerLatencyPolicies)
CfnGameSessionQueueProps.getPlayerLatencyPolicies()
playerLatencyPolicies
- A set of policies that act as a sliding cap on player latency.
FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value.this
public CfnGameSessionQueueProps.Builder priorityConfiguration(IResolvable priorityConfiguration)
CfnGameSessionQueueProps.getPriorityConfiguration()
priorityConfiguration
- Custom settings to use when prioritizing destinations and locations for game session placements.
This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process.this
public CfnGameSessionQueueProps.Builder priorityConfiguration(CfnGameSessionQueue.PriorityConfigurationProperty priorityConfiguration)
CfnGameSessionQueueProps.getPriorityConfiguration()
priorityConfiguration
- Custom settings to use when prioritizing destinations and locations for game session placements.
This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process.this
public CfnGameSessionQueueProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnGameSessionQueueProps.getTags()
tags
- A list of labels to assign to the new game session queue resource.
Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference . Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.this
public CfnGameSessionQueueProps.Builder timeoutInSeconds(java.lang.Number timeoutInSeconds)
CfnGameSessionQueueProps.getTimeoutInSeconds()
timeoutInSeconds
- The maximum time, in seconds, that a new game session placement request remains in the queue.
When a request exceeds this time, the game session placement changes to a TIMED_OUT
status.this
public CfnGameSessionQueueProps build()
CfnGameSessionQueueProps
java.lang.NullPointerException
- if any required attribute was not provided