public static class UpdateProfileOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String id)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
UpdateProfileOptions.Builder |
acdProfile(AcdProfile acdProfile)
Set the acdProfile.
|
UpdateProfileOptions.Builder |
addNewAnnotators(Annotator newAnnotators)
Adds an newAnnotators to newAnnotators.
|
UpdateProfileOptions |
build()
Builds a UpdateProfileOptions.
|
UpdateProfileOptions.Builder |
id(java.lang.String id)
Set the id.
|
UpdateProfileOptions.Builder |
newAnnotators(java.util.List<Annotator> newAnnotators)
Set the newAnnotators.
|
UpdateProfileOptions.Builder |
newCartridgeId(java.lang.String newCartridgeId)
Set the newCartridgeId.
|
UpdateProfileOptions.Builder |
newDescription(java.lang.String newDescription)
Set the newDescription.
|
UpdateProfileOptions.Builder |
newId(java.lang.String newId)
Set the newId.
|
UpdateProfileOptions.Builder |
newName(java.lang.String newName)
Set the newName.
|
UpdateProfileOptions.Builder |
newPublish(java.lang.Boolean newPublish)
Set the newPublish.
|
UpdateProfileOptions.Builder |
newPublishedDate(java.lang.String newPublishedDate)
Set the newPublishedDate.
|
UpdateProfileOptions.Builder |
newVersion(java.lang.String newVersion)
Set the newVersion.
|
public Builder()
public Builder(java.lang.String id)
id
- the idpublic UpdateProfileOptions build()
public UpdateProfileOptions.Builder addNewAnnotators(Annotator newAnnotators)
newAnnotators
- the new newAnnotatorspublic UpdateProfileOptions.Builder id(java.lang.String id)
id
- the idpublic UpdateProfileOptions.Builder newId(java.lang.String newId)
newId
- the newIdpublic UpdateProfileOptions.Builder newName(java.lang.String newName)
newName
- the newNamepublic UpdateProfileOptions.Builder newDescription(java.lang.String newDescription)
newDescription
- the newDescriptionpublic UpdateProfileOptions.Builder newPublishedDate(java.lang.String newPublishedDate)
newPublishedDate
- the newPublishedDatepublic UpdateProfileOptions.Builder newPublish(java.lang.Boolean newPublish)
newPublish
- the newPublishpublic UpdateProfileOptions.Builder newVersion(java.lang.String newVersion)
newVersion
- the newVersionpublic UpdateProfileOptions.Builder newCartridgeId(java.lang.String newCartridgeId)
newCartridgeId
- the newCartridgeIdpublic UpdateProfileOptions.Builder newAnnotators(java.util.List<Annotator> newAnnotators)
newAnnotators
- the newAnnotatorspublic UpdateProfileOptions.Builder acdProfile(AcdProfile acdProfile)
acdProfile
- the acdProfileCopyright © 2022 IBM Cloud. All rights reserved.