Class GetImageDetailsOptions.Builder

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

public static class GetImageDetailsOptions.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 GetImageDetailsOptions build()
      Builds a GetImageDetailsOptions.
      Returns:
      the new GetImageDetailsOptions instance
    • collectionId

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

      public GetImageDetailsOptions.Builder imageId​(String imageId)
      Set the imageId.
      Parameters:
      imageId - the imageId
      Returns:
      the GetImageDetailsOptions builder