Class GetObjectMetadataOptions.Builder

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

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

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

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