Package com.merative.acd.v1.model
Class CreateProfileOptions.Builder
- java.lang.Object
-
- com.merative.acd.v1.model.CreateProfileOptions.Builder
-
- Enclosing class:
- CreateProfileOptions
public static class CreateProfileOptions.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
build
public CreateProfileOptions build()
Builds a CreateProfileOptions.- Returns:
- the new CreateProfileOptions instance
-
addAnnotators
public CreateProfileOptions.Builder addAnnotators(Annotator annotators)
Adds an annotators to annotators.- Parameters:
annotators
- the new annotators- Returns:
- the CreateProfileOptions builder
-
id
public CreateProfileOptions.Builder id(java.lang.String id)
Set the id.- Parameters:
id
- the id- Returns:
- the CreateProfileOptions builder
-
name
public CreateProfileOptions.Builder name(java.lang.String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateProfileOptions builder
-
description
public CreateProfileOptions.Builder description(java.lang.String description)
Set the description.- Parameters:
description
- the description- Returns:
- the CreateProfileOptions builder
-
publishedDate
public CreateProfileOptions.Builder publishedDate(java.lang.String publishedDate)
Set the publishedDate.- Parameters:
publishedDate
- the publishedDate- Returns:
- the CreateProfileOptions builder
-
publish
public CreateProfileOptions.Builder publish(java.lang.Boolean publish)
Set the publish.- Parameters:
publish
- the publish- Returns:
- the CreateProfileOptions builder
-
version
public CreateProfileOptions.Builder version(java.lang.String version)
Set the version.- Parameters:
version
- the version- Returns:
- the CreateProfileOptions builder
-
cartridgeId
public CreateProfileOptions.Builder cartridgeId(java.lang.String cartridgeId)
Set the cartridgeId.- Parameters:
cartridgeId
- the cartridgeId- Returns:
- the CreateProfileOptions builder
-
annotators
public CreateProfileOptions.Builder annotators(java.util.List<Annotator> annotators)
Set the annotators. Existing annotators will be replaced.- Parameters:
annotators
- the annotators- Returns:
- the CreateProfileOptions builder
-
acdProfile
public CreateProfileOptions.Builder acdProfile(AcdProfile acdProfile)
Set the acdProfile.- Parameters:
acdProfile
- the acdProfile- Returns:
- the CreateProfileOptions builder
-
-