@Generated(value="software.amazon.awssdk:codegen") public final class FilterConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FilterConfiguration.Builder,FilterConfiguration>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FilterConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
allowedLocations()
A list of locations to allow game session placement in, in the form of AWS Region codes such as
us-west-2. |
static FilterConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAllowedLocations()
Returns true if the AllowedLocations property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FilterConfiguration.Builder> |
serializableBuilderClass() |
FilterConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAllowedLocations()
public final List<String> allowedLocations()
A list of locations to allow game session placement in, in the form of AWS Region codes such as
us-west-2.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAllowedLocations() to see if a value was sent in this field.
us-west-2.public FilterConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FilterConfiguration.Builder,FilterConfiguration>public static FilterConfiguration.Builder builder()
public static Class<? extends FilterConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.