public static class CreateProfileOptions.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
CreateProfileOptions.Builder |
acdProfile(AcdProfile acdProfile)
Set the acdProfile.
|
CreateProfileOptions.Builder |
addAnnotators(Annotator annotators)
Adds an annotators to annotators.
|
CreateProfileOptions.Builder |
annotators(java.util.List<Annotator> annotators)
Set the annotators.
|
CreateProfileOptions |
build()
Builds a CreateProfileOptions.
|
CreateProfileOptions.Builder |
cartridgeId(java.lang.String cartridgeId)
Set the cartridgeId.
|
CreateProfileOptions.Builder |
description(java.lang.String description)
Set the description.
|
CreateProfileOptions.Builder |
id(java.lang.String id)
Set the id.
|
CreateProfileOptions.Builder |
name(java.lang.String name)
Set the name.
|
CreateProfileOptions.Builder |
publish(java.lang.Boolean publish)
Set the publish.
|
CreateProfileOptions.Builder |
publishedDate(java.lang.String publishedDate)
Set the publishedDate.
|
CreateProfileOptions.Builder |
version(java.lang.String version)
Set the version.
|
public CreateProfileOptions build()
public CreateProfileOptions.Builder addAnnotators(Annotator annotators)
annotators - the new annotatorspublic CreateProfileOptions.Builder id(java.lang.String id)
id - the idpublic CreateProfileOptions.Builder name(java.lang.String name)
name - the namepublic CreateProfileOptions.Builder description(java.lang.String description)
description - the descriptionpublic CreateProfileOptions.Builder publishedDate(java.lang.String publishedDate)
publishedDate - the publishedDatepublic CreateProfileOptions.Builder publish(java.lang.Boolean publish)
publish - the publishpublic CreateProfileOptions.Builder version(java.lang.String version)
version - the versionpublic CreateProfileOptions.Builder cartridgeId(java.lang.String cartridgeId)
cartridgeId - the cartridgeIdpublic CreateProfileOptions.Builder annotators(java.util.List<Annotator> annotators)
annotators - the annotatorspublic CreateProfileOptions.Builder acdProfile(AcdProfile acdProfile)
acdProfile - the acdProfileCopyright © 2021 IBM Cloud. All rights reserved.