@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGameSessionQueueRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP
Constructor and Description |
---|
CreateGameSessionQueueRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGameSessionQueueRequest |
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.
|
List<Tag> |
getTags()
A list of labels to assign to the new game session queue resource.
|
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 |
setTags(Collection<Tag> tags)
A list of labels to assign to the new game session queue resource.
|
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.
|
CreateGameSessionQueueRequest |
withDestinations(Collection<GameSessionQueueDestination> destinations)
A list of fleets that can be used to fulfill game session placement requests in the queue.
|
CreateGameSessionQueueRequest |
withDestinations(GameSessionQueueDestination... destinations)
A list of fleets that can be used to fulfill game session placement requests in the queue.
|
CreateGameSessionQueueRequest |
withName(String name)
A descriptive label that is associated with game session queue.
|
CreateGameSessionQueueRequest |
withPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
A collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
CreateGameSessionQueueRequest |
withPlayerLatencyPolicies(PlayerLatencyPolicy... playerLatencyPolicies)
A collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
CreateGameSessionQueueRequest |
withTags(Collection<Tag> tags)
A list of labels to assign to the new game session queue resource.
|
CreateGameSessionQueueRequest |
withTags(Tag... tags)
A list of labels to assign to the new game session queue resource.
|
CreateGameSessionQueueRequest |
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.
name
- A descriptive label that is associated with game session queue. Queue names must be unique within each
Region.public String getName()
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
public CreateGameSessionQueueRequest withName(String name)
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
name
- A descriptive label that is associated with game session queue. Queue names must be unique within each
Region.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 CreateGameSessionQueueRequest 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. A player latency policy must set a value for
MaximumIndividualPlayerLatencyMilliseconds
. If none is set, this API request fails.
MaximumIndividualPlayerLatencyMilliseconds
. If none is set, this API request fails.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. A player latency policy must set a value for
MaximumIndividualPlayerLatencyMilliseconds
. If none is set, this API request fails.
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. A player latency policy must set a value for
MaximumIndividualPlayerLatencyMilliseconds
. If none is set, this API request fails.public CreateGameSessionQueueRequest 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. A player latency policy must set a value for
MaximumIndividualPlayerLatencyMilliseconds
. If none is set, this API request fails.
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. A player latency policy must set a value for
MaximumIndividualPlayerLatencyMilliseconds
. If none is set, this API request fails.public CreateGameSessionQueueRequest 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. A player latency policy must set a value for
MaximumIndividualPlayerLatencyMilliseconds
. If none is set, this API request fails.
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. A player latency policy must set a value for
MaximumIndividualPlayerLatencyMilliseconds
. If none is set, this API request fails.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.
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.
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.public CreateGameSessionQueueRequest 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.
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.public CreateGameSessionQueueRequest 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.
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.public List<Tag> getTags()
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.
public void setTags(Collection<Tag> 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.
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.public CreateGameSessionQueueRequest withTags(Tag... 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.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
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.public CreateGameSessionQueueRequest withTags(Collection<Tag> 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.
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.public String toString()
toString
in class Object
Object.toString()
public CreateGameSessionQueueRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.