Package com.merative.acd.v1.model
Class UpdateProfileOptions.Builder
- java.lang.Object
-
- com.merative.acd.v1.model.UpdateProfileOptions.Builder
-
- Enclosing class:
- UpdateProfileOptions
public static class UpdateProfileOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
build
public UpdateProfileOptions build()
Builds a UpdateProfileOptions.- Returns:
- the new UpdateProfileOptions instance
-
addNewAnnotators
public UpdateProfileOptions.Builder addNewAnnotators(Annotator newAnnotators)
Adds an newAnnotators to newAnnotators.- Parameters:
newAnnotators
- the new newAnnotators- Returns:
- the UpdateProfileOptions builder
-
id
public UpdateProfileOptions.Builder id(java.lang.String id)
Set the id.- Parameters:
id
- the id- Returns:
- the UpdateProfileOptions builder
-
newId
public UpdateProfileOptions.Builder newId(java.lang.String newId)
Set the newId.- Parameters:
newId
- the newId- Returns:
- the UpdateProfileOptions builder
-
newName
public UpdateProfileOptions.Builder newName(java.lang.String newName)
Set the newName.- Parameters:
newName
- the newName- Returns:
- the UpdateProfileOptions builder
-
newDescription
public UpdateProfileOptions.Builder newDescription(java.lang.String newDescription)
Set the newDescription.- Parameters:
newDescription
- the newDescription- Returns:
- the UpdateProfileOptions builder
-
newPublishedDate
public UpdateProfileOptions.Builder newPublishedDate(java.lang.String newPublishedDate)
Set the newPublishedDate.- Parameters:
newPublishedDate
- the newPublishedDate- Returns:
- the UpdateProfileOptions builder
-
newPublish
public UpdateProfileOptions.Builder newPublish(java.lang.Boolean newPublish)
Set the newPublish.- Parameters:
newPublish
- the newPublish- Returns:
- the UpdateProfileOptions builder
-
newVersion
public UpdateProfileOptions.Builder newVersion(java.lang.String newVersion)
Set the newVersion.- Parameters:
newVersion
- the newVersion- Returns:
- the UpdateProfileOptions builder
-
newCartridgeId
public UpdateProfileOptions.Builder newCartridgeId(java.lang.String newCartridgeId)
Set the newCartridgeId.- Parameters:
newCartridgeId
- the newCartridgeId- Returns:
- the UpdateProfileOptions builder
-
newAnnotators
public UpdateProfileOptions.Builder newAnnotators(java.util.List<Annotator> newAnnotators)
Set the newAnnotators. Existing newAnnotators will be replaced.- Parameters:
newAnnotators
- the newAnnotators- Returns:
- the UpdateProfileOptions builder
-
acdProfile
public UpdateProfileOptions.Builder acdProfile(AcdProfile acdProfile)
Set the acdProfile.- Parameters:
acdProfile
- the acdProfile- Returns:
- the UpdateProfileOptions builder
-
-