@Generated(value="software.amazon.awssdk:codegen") public final class UpdateGameServerRequest extends GameLiftRequest implements ToCopyableBuilder<UpdateGameServerRequest.Builder,UpdateGameServerRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateGameServerRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateGameServerRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
gameServerData()
A set of custom game server properties, formatted as a single string value.
|
String |
gameServerGroupName()
A unique identifier for the game server group where the game server is running.
|
String |
gameServerId()
A custom string that uniquely identifies the game server to update.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
GameServerHealthCheck |
healthCheck()
Indicates health status of the game server.
|
String |
healthCheckAsString()
Indicates health status of the game server.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateGameServerRequest.Builder> |
serializableBuilderClass() |
UpdateGameServerRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
GameServerUtilizationStatus |
utilizationStatus()
Indicates if the game server is available or is currently hosting gameplay.
|
String |
utilizationStatusAsString()
Indicates if the game server is available or is currently hosting gameplay.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String gameServerGroupName()
A unique identifier for the game server group where the game server is running.
public final String gameServerId()
A custom string that uniquely identifies the game server to update.
public final String gameServerData()
A set of custom game server properties, formatted as a single string value. This data is passed to a game client or service when it requests information on game servers.
public final GameServerUtilizationStatus utilizationStatus()
Indicates if the game server is available or is currently hosting gameplay. You can update a game server status
from AVAILABLE to UTILIZED, but you can't change a the status from
UTILIZED to AVAILABLE.
If the service returns an enum value that is not available in the current SDK version, utilizationStatus
will return GameServerUtilizationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from utilizationStatusAsString().
AVAILABLE to UTILIZED, but you can't change a the status from
UTILIZED to AVAILABLE.GameServerUtilizationStatuspublic final String utilizationStatusAsString()
Indicates if the game server is available or is currently hosting gameplay. You can update a game server status
from AVAILABLE to UTILIZED, but you can't change a the status from
UTILIZED to AVAILABLE.
If the service returns an enum value that is not available in the current SDK version, utilizationStatus
will return GameServerUtilizationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from utilizationStatusAsString().
AVAILABLE to UTILIZED, but you can't change a the status from
UTILIZED to AVAILABLE.GameServerUtilizationStatuspublic final GameServerHealthCheck healthCheck()
Indicates health status of the game server. A request that includes this parameter updates the game server's LastHealthCheckTime timestamp.
If the service returns an enum value that is not available in the current SDK version, healthCheck will
return GameServerHealthCheck.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from healthCheckAsString().
GameServerHealthCheckpublic final String healthCheckAsString()
Indicates health status of the game server. A request that includes this parameter updates the game server's LastHealthCheckTime timestamp.
If the service returns an enum value that is not available in the current SDK version, healthCheck will
return GameServerHealthCheck.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from healthCheckAsString().
GameServerHealthCheckpublic UpdateGameServerRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateGameServerRequest.Builder,UpdateGameServerRequest>toBuilder in class GameLiftRequestpublic static UpdateGameServerRequest.Builder builder()
public static Class<? extends UpdateGameServerRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.