Interface InputImage.Builder

    • Method Detail

      • format

        InputImage.Builder format​(String format)

        The format of the input image. Supported formats include png, gif, jpeg, and webp.

        Parameters:
        format - The format of the input image. Supported formats include png, gif, jpeg, and webp.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InputImageFormat, InputImageFormat
      • format

        InputImage.Builder format​(InputImageFormat format)

        The format of the input image. Supported formats include png, gif, jpeg, and webp.

        Parameters:
        format - The format of the input image. Supported formats include png, gif, jpeg, and webp.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InputImageFormat, InputImageFormat
      • inlineContent

        InputImage.Builder inlineContent​(SdkBytes inlineContent)

        The base64-encoded image data for inline image content. Maximum size is 5MB.

        Parameters:
        inlineContent - The base64-encoded image data for inline image content. Maximum size is 5MB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.