Class DeleteGameServerGroupRequest

    • 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 in UTILIZED status.

        • 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, deleteOption will return GameServerGroupDeleteOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from deleteOptionAsString().

        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 in UTILIZED status.

        • 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 in UTILIZED status.

        • 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, deleteOption will return GameServerGroupDeleteOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from deleteOptionAsString().

        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 in UTILIZED status.

        • 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
      • 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.
        Overrides:
        toString in class Object