Class ImageUrl.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.ImageUrl.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageUrl
build()
ImageUrl.Builder
copy(ImageUrl model)
ImageUrl.Builder
detail(ImageUrl.Detail detail)
The default value is AUTO and only AUTO is supported.ImageUrl.Builder
url(String url)
The base64 encoded image data.
-
-
-
Method Detail
-
url
public ImageUrl.Builder url(String url)
The base64 encoded image data.Example for a png image: { "type": "IMAGE", "imageUrl": { "url": "data:image/png;base64,
" } } - Parameters:
url
- the value to set- Returns:
- this builder
-
detail
public ImageUrl.Builder detail(ImageUrl.Detail detail)
The default value is AUTO and only AUTO is supported.This option controls how to convert the base64 encoded image to tokens.
- Parameters:
detail
- the value to set- Returns:
- this builder
-
build
public ImageUrl build()
-
copy
public ImageUrl.Builder copy(ImageUrl model)
-
-