Class DeleteImageOptions.Builder

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

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

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

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