Class CreateProjectOptions.Builder

java.lang.Object
com.ibm.watson.discovery.v2.model.CreateProjectOptions.Builder
Enclosing class:
CreateProjectOptions

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public CreateProjectOptions build()
      Builds a CreateProjectOptions.
      Returns:
      the new CreateProjectOptions instance
    • name

      public CreateProjectOptions.Builder name​(String name)
      Set the name.
      Parameters:
      name - the name
      Returns:
      the CreateProjectOptions builder
    • type

      public CreateProjectOptions.Builder type​(String type)
      Set the type.
      Parameters:
      type - the type
      Returns:
      the CreateProjectOptions builder
    • defaultQueryParameters

      public CreateProjectOptions.Builder defaultQueryParameters​(DefaultQueryParams defaultQueryParameters)
      Set the defaultQueryParameters.
      Parameters:
      defaultQueryParameters - the defaultQueryParameters
      Returns:
      the CreateProjectOptions builder