Interface GetSpritesResponse.Builder

    • Method Detail

      • blob

        GetSpritesResponse.Builder blob​(SdkBytes 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

        GetSpritesResponse.Builder eTag​(String 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.