@Generated(value="software.amazon.awssdk:codegen") public final class LocationState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LocationState.Builder,LocationState>
A fleet location and its life-cycle state. A location state object might be used to describe a fleet's remote location or home Region. Life-cycle state tracks the progress of launching the first instance in a new location and preparing it for game hosting, and then removing all instances and deleting the location from the fleet.
NEW -- A new fleet location has been defined and desired instances is set to 1.
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- GameLift is setting up the new fleet location, creating new instances with the game build or Realtime script and starting server processes.
ACTIVE -- Hosts can now accept game sessions.
ERROR -- An error occurred when downloading, validating, building, or activating the fleet location.
DELETING -- Hosts are responding to a delete fleet location request.
TERMINATED -- The fleet location no longer exists.
NOT_FOUND -- The fleet location was not found. This could be because the custom location was removed or not created.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LocationState.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LocationState.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
location()
The fleet location, expressed as an Amazon Web Services Region code such as
us-west-2. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LocationState.Builder> |
serializableBuilderClass() |
FleetStatus |
status()
The life-cycle status of a fleet location.
|
String |
statusAsString()
The life-cycle status of a fleet location.
|
LocationState.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String location()
The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.
us-west-2.public final FleetStatus status()
The life-cycle status of a fleet location.
If the service returns an enum value that is not available in the current SDK version, status will
return FleetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
FleetStatuspublic final String statusAsString()
The life-cycle status of a fleet location.
If the service returns an enum value that is not available in the current SDK version, status will
return FleetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
FleetStatuspublic LocationState.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LocationState.Builder,LocationState>public static LocationState.Builder builder()
public static Class<? extends LocationState.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.