Class Image.Builder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • Image.Builder

        Image.Builder()
        Create a new Builder.
    • Method Detail

      • url

         Image.Builder url(URI url)

        Set the url of the image.

        Parameters:
        url - the url of the image.
        Returns:

        this

      • url

         Image.Builder url(String url)

        Set the url of the image.

        Parameters:
        url - the url of the image.
        Returns:

        this

      • base64Data

         Image.Builder base64Data(String base64Data)

        Set the base64 data of the image.

        Parameters:
        base64Data - the base64 data of the image.
        Returns:

        this

      • mimeType

         Image.Builder mimeType(String mimeType)

        Set the mime type of the image.

        Parameters:
        mimeType - the mime type of the image.
        Returns:

        this

      • revisedPrompt

         Image.Builder revisedPrompt(String revisedPrompt)

        Set the revised prompt of the image.

        Parameters:
        revisedPrompt - the revised prompt of the image.
        Returns:

        this