public static final class CfnGameSessionQueue.PlayerLatencyPolicyProperty.Builder
extends java.lang.Object
CfnGameSessionQueue.PlayerLatencyPolicyProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnGameSessionQueue.PlayerLatencyPolicyProperty |
build()
Builds the configured instance.
|
CfnGameSessionQueue.PlayerLatencyPolicyProperty.Builder |
maximumIndividualPlayerLatencyMilliseconds(java.lang.Number maximumIndividualPlayerLatencyMilliseconds)
|
CfnGameSessionQueue.PlayerLatencyPolicyProperty.Builder |
policyDurationSeconds(java.lang.Number policyDurationSeconds)
|
public CfnGameSessionQueue.PlayerLatencyPolicyProperty.Builder maximumIndividualPlayerLatencyMilliseconds(java.lang.Number maximumIndividualPlayerLatencyMilliseconds)
CfnGameSessionQueue.PlayerLatencyPolicyProperty.getMaximumIndividualPlayerLatencyMilliseconds()
maximumIndividualPlayerLatencyMilliseconds
- The maximum latency value that is allowed for any player, in milliseconds.
All policies must have a value set for this property.this
public CfnGameSessionQueue.PlayerLatencyPolicyProperty.Builder policyDurationSeconds(java.lang.Number policyDurationSeconds)
policyDurationSeconds
- The length of time, in seconds, that the policy is enforced while placing a new game session.
A null value for this property means that the policy is enforced until the queue times out.this
public CfnGameSessionQueue.PlayerLatencyPolicyProperty build()
CfnGameSessionQueue.PlayerLatencyPolicyProperty
java.lang.NullPointerException
- if any required attribute was not provided