Class DeleteObjectOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

      public DeleteObjectOptions.Builder object​(String object)
      Set the object.
      Parameters:
      object - the object
      Returns:
      the DeleteObjectOptions builder