Class UpdateProjectOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v2.model.UpdateProjectOptions.Builder
- Enclosing class:
- UpdateProjectOptions
public static class UpdateProjectOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description UpdateProjectOptions
build()
Builds a UpdateProjectOptions.UpdateProjectOptions.Builder
name(String name)
Set the name.UpdateProjectOptions.Builder
projectId(String projectId)
Set the projectId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
projectId
- the projectId
-
-
Method Details
-
build
Builds a UpdateProjectOptions.- Returns:
- the new UpdateProjectOptions instance
-
projectId
Set the projectId.- Parameters:
projectId
- the projectId- Returns:
- the UpdateProjectOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the UpdateProjectOptions builder
-