Class GetJpegImageOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v4.model.GetJpegImageOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class GetJpegImageOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The getJpegImage options.
  • Method Details

    • newBuilder

      public GetJpegImageOptions.Builder newBuilder()
      New builder.
      Returns:
      a GetJpegImageOptions builder
    • collectionId

      public String collectionId()
      Gets the collectionId.

      The identifier of the collection.

      Returns:
      the collectionId
    • imageId

      public String imageId()
      Gets the imageId.

      The identifier of the image.

      Returns:
      the imageId
    • size

      public String size()
      Gets the size.

      The image size. Specify `thumbnail` to return a version that maintains the original aspect ratio but is no larger than 200 pixels in the larger dimension. For example, an original 800 x 1000 image is resized to 160 x 200 pixels.

      Returns:
      the size