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