Interface GetSpritesResponse.Builder

  • Method Details

    • blob

      The body of the sprite sheet or JSON offset file (image/png or application/json, depending on input).

      Parameters:
      blob - The body of the sprite sheet or JSON offset file (image/png or application/json, depending on input).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentType

      GetSpritesResponse.Builder contentType(String contentType)

      Header that represents the format of the response. The response returns the following as the HTTP body.

      Parameters:
      contentType - Header that represents the format of the response. The response returns the following as the HTTP body.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheControl

      GetSpritesResponse.Builder cacheControl(String cacheControl)

      Header that instructs caching configuration for the client.

      Parameters:
      cacheControl - Header that instructs caching configuration for the client.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eTag

      The sprite's Etag.

      Parameters:
      eTag - The sprite's Etag.
      Returns:
      Returns a reference to this object so that method calls can be chained together.