@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateGameSessionQueueRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request operation.
NOOP
Constructor and Description |
---|
UpdateGameSessionQueueRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateGameSessionQueueRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<GameSessionQueueDestination> |
getDestinations()
A list of fleets that can be used to fulfill game session placement requests in the queue.
|
String |
getName()
A descriptive label that is associated with game session queue.
|
List<PlayerLatencyPolicy> |
getPlayerLatencyPolicies()
A collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
Integer |
getTimeoutInSeconds()
The maximum time, in seconds, that a new game session placement request remains in the queue.
|
int |
hashCode() |
void |
setDestinations(Collection<GameSessionQueueDestination> destinations)
A list of fleets that can be used to fulfill game session placement requests in the queue.
|
void |
setName(String name)
A descriptive label that is associated with game session queue.
|
void |
setPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
A collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
void |
setTimeoutInSeconds(Integer timeoutInSeconds)
The maximum time, in seconds, that a new game session placement request remains in the queue.
|
String |
toString()
Returns a string representation of this object.
|
UpdateGameSessionQueueRequest |
withDestinations(Collection<GameSessionQueueDestination> destinations)
A list of fleets that can be used to fulfill game session placement requests in the queue.
|
UpdateGameSessionQueueRequest |
withDestinations(GameSessionQueueDestination... destinations)
A list of fleets that can be used to fulfill game session placement requests in the queue.
|
UpdateGameSessionQueueRequest |
withName(String name)
A descriptive label that is associated with game session queue.
|
UpdateGameSessionQueueRequest |
withPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
A collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
UpdateGameSessionQueueRequest |
withPlayerLatencyPolicies(PlayerLatencyPolicy... playerLatencyPolicies)
A collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
UpdateGameSessionQueueRequest |
withTimeoutInSeconds(Integer timeoutInSeconds)
The maximum time, in seconds, that a new game session placement request remains in the queue.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
A descriptive label that is associated with game session queue. Queue names must be unique within each Region. You can use either the queue ID or ARN value.
name
- A descriptive label that is associated with game session queue. Queue names must be unique within each
Region. You can use either the queue ID or ARN value.public String getName()
A descriptive label that is associated with game session queue. Queue names must be unique within each Region. You can use either the queue ID or ARN value.
public UpdateGameSessionQueueRequest withName(String name)
A descriptive label that is associated with game session queue. Queue names must be unique within each Region. You can use either the queue ID or ARN value.
name
- A descriptive label that is associated with game session queue. Queue names must be unique within each
Region. You can use either the queue ID or ARN value.public void setTimeoutInSeconds(Integer 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.
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.public Integer getTimeoutInSeconds()
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.
TIMED_OUT
status.public UpdateGameSessionQueueRequest withTimeoutInSeconds(Integer 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.
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.public List<PlayerLatencyPolicy> getPlayerLatencyPolicies()
A collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, the policy is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement. When updating policies, provide a complete collection of policies.
public void setPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
A collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, the policy is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement. When updating policies, provide a complete collection of policies.
playerLatencyPolicies
- A collection of latency policies to apply when processing game sessions placement requests with player
latency information. Multiple policies are evaluated in order of the maximum latency value, starting with
the lowest latency values. With just one policy, the policy is enforced at the start of the game session
placement for the duration period. With multiple policies, each policy is enforced consecutively for its
duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy,
and then no policy for the remainder of the placement. When updating policies, provide a complete
collection of policies.public UpdateGameSessionQueueRequest withPlayerLatencyPolicies(PlayerLatencyPolicy... playerLatencyPolicies)
A collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, the policy is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement. When updating policies, provide a complete collection of policies.
NOTE: This method appends the values to the existing list (if any). Use
setPlayerLatencyPolicies(java.util.Collection)
or
withPlayerLatencyPolicies(java.util.Collection)
if you want to override the existing values.
playerLatencyPolicies
- A collection of latency policies to apply when processing game sessions placement requests with player
latency information. Multiple policies are evaluated in order of the maximum latency value, starting with
the lowest latency values. With just one policy, the policy is enforced at the start of the game session
placement for the duration period. With multiple policies, each policy is enforced consecutively for its
duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy,
and then no policy for the remainder of the placement. When updating policies, provide a complete
collection of policies.public UpdateGameSessionQueueRequest withPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
A collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, the policy is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement. When updating policies, provide a complete collection of policies.
playerLatencyPolicies
- A collection of latency policies to apply when processing game sessions placement requests with player
latency information. Multiple policies are evaluated in order of the maximum latency value, starting with
the lowest latency values. With just one policy, the policy is enforced at the start of the game session
placement for the duration period. With multiple policies, each policy is enforced consecutively for its
duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy,
and then no policy for the remainder of the placement. When updating policies, provide a complete
collection of policies.public List<GameSessionQueueDestination> getDestinations()
A list of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order. When updating this list, provide a complete list of destinations.
public void setDestinations(Collection<GameSessionQueueDestination> destinations)
A list of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order. When updating this list, provide a complete list of destinations.
destinations
- A list of fleets that can be used to fulfill game session placement requests in the queue. Fleets are
identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference
order. When updating this list, provide a complete list of destinations.public UpdateGameSessionQueueRequest withDestinations(GameSessionQueueDestination... destinations)
A list of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order. When updating this list, provide a complete list of destinations.
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection)
or withDestinations(java.util.Collection)
if you want to
override the existing values.
destinations
- A list of fleets that can be used to fulfill game session placement requests in the queue. Fleets are
identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference
order. When updating this list, provide a complete list of destinations.public UpdateGameSessionQueueRequest withDestinations(Collection<GameSessionQueueDestination> destinations)
A list of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order. When updating this list, provide a complete list of destinations.
destinations
- A list of fleets that can be used to fulfill game session placement requests in the queue. Fleets are
identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference
order. When updating this list, provide a complete list of destinations.public String toString()
toString
in class Object
Object.toString()
public UpdateGameSessionQueueRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()