Class GetJpegImageOptions.Builder

java.lang.Object
com.ibm.watson.visual_recognition.v4.model.GetJpegImageOptions.Builder
Enclosing class:
GetJpegImageOptions

public static class GetJpegImageOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String collectionId, String imageId)
      Instantiates a new builder with required properties.
      Parameters:
      collectionId - the collectionId
      imageId - the imageId
  • Method Details

    • build

      public GetJpegImageOptions build()
      Builds a GetJpegImageOptions.
      Returns:
      the new GetJpegImageOptions instance
    • collectionId

      public GetJpegImageOptions.Builder collectionId​(String collectionId)
      Set the collectionId.
      Parameters:
      collectionId - the collectionId
      Returns:
      the GetJpegImageOptions builder
    • imageId

      public GetJpegImageOptions.Builder imageId​(String imageId)
      Set the imageId.
      Parameters:
      imageId - the imageId
      Returns:
      the GetJpegImageOptions builder
    • size

      public GetJpegImageOptions.Builder size​(String size)
      Set the size.
      Parameters:
      size - the size
      Returns:
      the GetJpegImageOptions builder