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 Summary
-
Method Summary
Modifier and Type Method Description CreateProjectOptions
build()
Builds a CreateProjectOptions.CreateProjectOptions.Builder
defaultQueryParameters(DefaultQueryParams defaultQueryParameters)
Set the defaultQueryParameters.CreateProjectOptions.Builder
name(String name)
Set the name.CreateProjectOptions.Builder
type(String type)
Set the type.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
name
- the nametype
- the type
-
-
Method Details
-
build
Builds a CreateProjectOptions.- Returns:
- the new CreateProjectOptions instance
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the CreateProjectOptions builder
-
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
-