Class GetEntityOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.GetEntityOptions.Builder
- Enclosing class:
- GetEntityOptions
public static class GetEntityOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetEntityOptions
build()
Builds a GetEntityOptions.GetEntityOptions.Builder
entity(String entity)
Set the entity.GetEntityOptions.Builder
export(Boolean export)
Set the export.GetEntityOptions.Builder
includeAudit(Boolean includeAudit)
Set the includeAudit.GetEntityOptions.Builder
workspaceId(String workspaceId)
Set the workspaceId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
workspaceId
- the workspaceIdentity
- the entity
-
-
Method Details
-
build
Builds a GetEntityOptions.- Returns:
- the new GetEntityOptions instance
-
workspaceId
Set the workspaceId.- Parameters:
workspaceId
- the workspaceId- Returns:
- the GetEntityOptions builder
-
entity
Set the entity.- Parameters:
entity
- the entity- Returns:
- the GetEntityOptions builder
-
export
Set the export.- Parameters:
export
- the export- Returns:
- the GetEntityOptions builder
-
includeAudit
Set the includeAudit.- Parameters:
includeAudit
- the includeAudit- Returns:
- the GetEntityOptions builder
-