@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 String gameServerGroupName()
A unique identifier for the game server group. Use either the GameServerGroup name or ARN value.
public 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 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.