@Generated(value="software.amazon.awssdk:codegen") public final class DeleteGameServerGroupRequest extends GameLiftRequest implements ToCopyableBuilder<DeleteGameServerGroupRequest.Builder,DeleteGameServerGroupRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteGameServerGroupRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteGameServerGroupRequest.Builder |
builder() |
GameServerGroupDeleteOption |
deleteOption()
The type of delete to perform.
|
String |
deleteOptionAsString()
The type of delete to perform.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
gameServerGroupName()
A unique identifier for the game server group.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteGameServerGroupRequest.Builder> |
serializableBuilderClass() |
DeleteGameServerGroupRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String gameServerGroupName()
A unique identifier for the game server group. Use either the GameServerGroup name or ARN value.
public final GameServerGroupDeleteOption deleteOption()
The type of delete to perform. Options include the following:
SAFE_DELETE – (default) Terminates the game server group and EC2 Auto Scaling group only when it has
no game servers that are in UTILIZED status.
FORCE_DELETE – Terminates the game server group, including all active game servers regardless of
their utilization status, and the EC2 Auto Scaling group.
RETAIN – Does a safe delete of the game server group but retains the EC2 Auto Scaling group as is.
If the service returns an enum value that is not available in the current SDK version, deleteOption will
return GameServerGroupDeleteOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from deleteOptionAsString().
SAFE_DELETE – (default) Terminates the game server group and EC2 Auto Scaling group only
when it has no game servers that are in UTILIZED status.
FORCE_DELETE – Terminates the game server group, including all active game servers
regardless of their utilization status, and the EC2 Auto Scaling group.
RETAIN – Does a safe delete of the game server group but retains the EC2 Auto Scaling group
as is.
GameServerGroupDeleteOptionpublic final String deleteOptionAsString()
The type of delete to perform. Options include the following:
SAFE_DELETE – (default) Terminates the game server group and EC2 Auto Scaling group only when it has
no game servers that are in UTILIZED status.
FORCE_DELETE – Terminates the game server group, including all active game servers regardless of
their utilization status, and the EC2 Auto Scaling group.
RETAIN – Does a safe delete of the game server group but retains the EC2 Auto Scaling group as is.
If the service returns an enum value that is not available in the current SDK version, deleteOption will
return GameServerGroupDeleteOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from deleteOptionAsString().
SAFE_DELETE – (default) Terminates the game server group and EC2 Auto Scaling group only
when it has no game servers that are in UTILIZED status.
FORCE_DELETE – Terminates the game server group, including all active game servers
regardless of their utilization status, and the EC2 Auto Scaling group.
RETAIN – Does a safe delete of the game server group but retains the EC2 Auto Scaling group
as is.
GameServerGroupDeleteOptionpublic DeleteGameServerGroupRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteGameServerGroupRequest.Builder,DeleteGameServerGroupRequest>toBuilder in class GameLiftRequestpublic static DeleteGameServerGroupRequest.Builder builder()
public static Class<? extends DeleteGameServerGroupRequest.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 © 2021. All rights reserved.