Class DeleteGameServerGroupRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.gamelift.model.GameLiftRequest
-
- software.amazon.awssdk.services.gamelift.model.DeleteGameServerGroupRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteGameServerGroupRequest.Builder,DeleteGameServerGroupRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteGameServerGroupRequest extends GameLiftRequest implements ToCopyableBuilder<DeleteGameServerGroupRequest.Builder,DeleteGameServerGroupRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteGameServerGroupRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteGameServerGroupRequest.Builderbuilder()GameServerGroupDeleteOptiondeleteOption()The type of delete to perform.StringdeleteOptionAsString()The type of delete to perform.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringgameServerGroupName()A unique identifier for the game server group.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeleteGameServerGroupRequest.Builder>serializableBuilderClass()DeleteGameServerGroupRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
gameServerGroupName
public final String gameServerGroupName()
A unique identifier for the game server group. Use either the name or ARN value.
- Returns:
- A unique identifier for the game server group. Use either the name or ARN value.
-
deleteOption
public final GameServerGroupDeleteOption deleteOption()
The type of delete to perform. Options include the following:
-
SAFE_DELETE– (default) Terminates the game server group and Amazon EC2 Auto Scaling group only when it has no game servers that are inUTILIZEDstatus. -
FORCE_DELETE– Terminates the game server group, including all active game servers regardless of their utilization status, and the Amazon EC2 Auto Scaling group. -
RETAIN– Does a safe delete of the game server group but retains the Amazon EC2 Auto Scaling group as is.
If the service returns an enum value that is not available in the current SDK version,
deleteOptionwill returnGameServerGroupDeleteOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeleteOptionAsString().- Returns:
- The type of delete to perform. Options include the following:
-
SAFE_DELETE– (default) Terminates the game server group and Amazon EC2 Auto Scaling group only when it has no game servers that are inUTILIZEDstatus. -
FORCE_DELETE– Terminates the game server group, including all active game servers regardless of their utilization status, and the Amazon EC2 Auto Scaling group. -
RETAIN– Does a safe delete of the game server group but retains the Amazon EC2 Auto Scaling group as is.
-
- See Also:
GameServerGroupDeleteOption
-
-
deleteOptionAsString
public final String deleteOptionAsString()
The type of delete to perform. Options include the following:
-
SAFE_DELETE– (default) Terminates the game server group and Amazon EC2 Auto Scaling group only when it has no game servers that are inUTILIZEDstatus. -
FORCE_DELETE– Terminates the game server group, including all active game servers regardless of their utilization status, and the Amazon EC2 Auto Scaling group. -
RETAIN– Does a safe delete of the game server group but retains the Amazon EC2 Auto Scaling group as is.
If the service returns an enum value that is not available in the current SDK version,
deleteOptionwill returnGameServerGroupDeleteOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeleteOptionAsString().- Returns:
- The type of delete to perform. Options include the following:
-
SAFE_DELETE– (default) Terminates the game server group and Amazon EC2 Auto Scaling group only when it has no game servers that are inUTILIZEDstatus. -
FORCE_DELETE– Terminates the game server group, including all active game servers regardless of their utilization status, and the Amazon EC2 Auto Scaling group. -
RETAIN– Does a safe delete of the game server group but retains the Amazon EC2 Auto Scaling group as is.
-
- See Also:
GameServerGroupDeleteOption
-
-
toBuilder
public DeleteGameServerGroupRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteGameServerGroupRequest.Builder,DeleteGameServerGroupRequest>- Specified by:
toBuilderin classGameLiftRequest
-
builder
public static DeleteGameServerGroupRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteGameServerGroupRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-