@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClaimFilterOption extends Object implements Serializable, Cloneable, StructuredPojo
This data type is used with the Amazon GameLift FleetIQ and game server groups.
Filters which game servers may be claimed when calling ClaimGameServer.
| Constructor and Description |
|---|
ClaimFilterOption() |
| Modifier and Type | Method and Description |
|---|---|
ClaimFilterOption |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInstanceStatuses()
List of instance statuses that game servers may be claimed on.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setInstanceStatuses(Collection<String> instanceStatuses)
List of instance statuses that game servers may be claimed on.
|
String |
toString()
Returns a string representation of this object.
|
ClaimFilterOption |
withInstanceStatuses(Collection<String> instanceStatuses)
List of instance statuses that game servers may be claimed on.
|
ClaimFilterOption |
withInstanceStatuses(FilterInstanceStatus... instanceStatuses)
List of instance statuses that game servers may be claimed on.
|
ClaimFilterOption |
withInstanceStatuses(String... instanceStatuses)
List of instance statuses that game servers may be claimed on.
|
public List<String> getInstanceStatuses()
List of instance statuses that game servers may be claimed on. If provided, the list must contain the
ACTIVE status.
ACTIVE status.FilterInstanceStatuspublic void setInstanceStatuses(Collection<String> instanceStatuses)
List of instance statuses that game servers may be claimed on. If provided, the list must contain the
ACTIVE status.
instanceStatuses - List of instance statuses that game servers may be claimed on. If provided, the list must contain the
ACTIVE status.FilterInstanceStatuspublic ClaimFilterOption withInstanceStatuses(String... instanceStatuses)
List of instance statuses that game servers may be claimed on. If provided, the list must contain the
ACTIVE status.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceStatuses(java.util.Collection) or withInstanceStatuses(java.util.Collection) if you
want to override the existing values.
instanceStatuses - List of instance statuses that game servers may be claimed on. If provided, the list must contain the
ACTIVE status.FilterInstanceStatuspublic ClaimFilterOption withInstanceStatuses(Collection<String> instanceStatuses)
List of instance statuses that game servers may be claimed on. If provided, the list must contain the
ACTIVE status.
instanceStatuses - List of instance statuses that game servers may be claimed on. If provided, the list must contain the
ACTIVE status.FilterInstanceStatuspublic ClaimFilterOption withInstanceStatuses(FilterInstanceStatus... instanceStatuses)
List of instance statuses that game servers may be claimed on. If provided, the list must contain the
ACTIVE status.
instanceStatuses - List of instance statuses that game servers may be claimed on. If provided, the list must contain the
ACTIVE status.FilterInstanceStatuspublic String toString()
toString in class ObjectObject.toString()public ClaimFilterOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.