Interface PlayerLatencyPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PlayerLatencyPolicy.Builder,PlayerLatencyPolicy>,SdkBuilder<PlayerLatencyPolicy.Builder,PlayerLatencyPolicy>,SdkPojo
- Enclosing class:
- PlayerLatencyPolicy
public static interface PlayerLatencyPolicy.Builder extends SdkPojo, CopyableBuilder<PlayerLatencyPolicy.Builder,PlayerLatencyPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PlayerLatencyPolicy.BuildermaximumIndividualPlayerLatencyMilliseconds(Integer maximumIndividualPlayerLatencyMilliseconds)The maximum latency value that is allowed for any player, in milliseconds.PlayerLatencyPolicy.BuilderpolicyDurationSeconds(Integer policyDurationSeconds)The length of time, in seconds, that the policy is enforced while placing a new game session.-
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
-
maximumIndividualPlayerLatencyMilliseconds
PlayerLatencyPolicy.Builder maximumIndividualPlayerLatencyMilliseconds(Integer maximumIndividualPlayerLatencyMilliseconds)
The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.
- Parameters:
maximumIndividualPlayerLatencyMilliseconds- The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDurationSeconds
PlayerLatencyPolicy.Builder policyDurationSeconds(Integer 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-