@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FilterConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A list of fleet locations where a game session queue can place new game sessions. You can use a filter to temporarily turn off placements for specific locations. For queues that have multi-location fleets, you can use a filter configuration allow placement with some, but not all of these locations.
Filter configurations are part of a GameSessionQueue.
| Constructor and Description |
|---|
FilterConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
FilterConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAllowedLocations()
A list of locations to allow game session placement in, in the form of Amazon Web Services Region codes such as
us-west-2. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAllowedLocations(Collection<String> allowedLocations)
A list of locations to allow game session placement in, in the form of Amazon Web Services Region codes such as
us-west-2. |
String |
toString()
Returns a string representation of this object.
|
FilterConfiguration |
withAllowedLocations(Collection<String> allowedLocations)
A list of locations to allow game session placement in, in the form of Amazon Web Services Region codes such as
us-west-2. |
FilterConfiguration |
withAllowedLocations(String... allowedLocations)
A list of locations to allow game session placement in, in the form of Amazon Web Services Region codes such as
us-west-2. |
public List<String> getAllowedLocations()
A list of locations to allow game session placement in, in the form of Amazon Web Services Region codes such as
us-west-2.
us-west-2.public void setAllowedLocations(Collection<String> allowedLocations)
A list of locations to allow game session placement in, in the form of Amazon Web Services Region codes such as
us-west-2.
allowedLocations - A list of locations to allow game session placement in, in the form of Amazon Web Services Region codes
such as us-west-2.public FilterConfiguration withAllowedLocations(String... allowedLocations)
A list of locations to allow game session placement in, in the form of Amazon Web Services Region codes such as
us-west-2.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedLocations(java.util.Collection) or withAllowedLocations(java.util.Collection) if you
want to override the existing values.
allowedLocations - A list of locations to allow game session placement in, in the form of Amazon Web Services Region codes
such as us-west-2.public FilterConfiguration withAllowedLocations(Collection<String> allowedLocations)
A list of locations to allow game session placement in, in the form of Amazon Web Services Region codes such as
us-west-2.
allowedLocations - A list of locations to allow game session placement in, in the form of Amazon Web Services Region codes
such as us-west-2.public String toString()
toString in class ObjectObject.toString()public FilterConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.