Class GetModelFileOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

      public GetModelFileOptions.Builder feature​(String feature)
      Set the feature.
      Parameters:
      feature - the feature
      Returns:
      the GetModelFileOptions builder
    • modelFormat

      public GetModelFileOptions.Builder modelFormat​(String modelFormat)
      Set the modelFormat.
      Parameters:
      modelFormat - the modelFormat
      Returns:
      the GetModelFileOptions builder