Class UpdateValueOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.UpdateValueOptions.Builder
- Enclosing class:
- UpdateValueOptions
public static class UpdateValueOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
workspaceId
- the workspaceIdentity
- the entityvalue
- the value
-
-
Method Details
-
build
Builds a UpdateValueOptions.- Returns:
- the new UpdateValueOptions instance
-
addSynonym
Adds an synonym to newSynonyms.- Parameters:
synonym
- the new synonym- Returns:
- the UpdateValueOptions builder
-
addPattern
Adds an pattern to newPatterns.- Parameters:
pattern
- the new pattern- Returns:
- the UpdateValueOptions builder
-
workspaceId
Set the workspaceId.- Parameters:
workspaceId
- the workspaceId- Returns:
- the UpdateValueOptions builder
-
entity
Set the entity.- Parameters:
entity
- the entity- Returns:
- the UpdateValueOptions builder
-
value
Set the value.- Parameters:
value
- the value- Returns:
- the UpdateValueOptions builder
-
newValue
Set the newValue.- Parameters:
newValue
- the newValue- Returns:
- the UpdateValueOptions builder
-
newMetadata
Set the newMetadata.- Parameters:
newMetadata
- the newMetadata- Returns:
- the UpdateValueOptions builder
-
newType
Set the newType.- Parameters:
newType
- the newType- Returns:
- the UpdateValueOptions builder
-
newSynonyms
Set the newSynonyms. Existing newSynonyms will be replaced.- Parameters:
newSynonyms
- the newSynonyms- Returns:
- the UpdateValueOptions builder
-
newPatterns
Set the newPatterns. Existing newPatterns will be replaced.- Parameters:
newPatterns
- the newPatterns- Returns:
- the UpdateValueOptions builder
-
append
Set the append.- Parameters:
append
- the append- Returns:
- the UpdateValueOptions builder
-
includeAudit
Set the includeAudit.- Parameters:
includeAudit
- the includeAudit- Returns:
- the UpdateValueOptions builder
-