Class ScoreConfig.Builder
- All Implemented Interfaces:
ScoreConfig._FinalStage,ScoreConfig.CreatedAtStage,ScoreConfig.DataTypeStage,ScoreConfig.IdStage,ScoreConfig.IsArchivedStage,ScoreConfig.NameStage,ScoreConfig.ProjectIdStage,ScoreConfig.UpdatedAtStage
- Enclosing class:
ScoreConfig
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()categories(List<ConfigCategory> categories) Configures custom categories for categorical scorescategories(Optional<List<ConfigCategory>> categories) Configures custom categories for categorical scorescreatedAt(OffsetDateTime createdAt) dataType(ScoreConfigDataType dataType) description(Nullable<String> description) Description of the score configdescription(String description) Description of the score configdescription(Optional<String> description) Description of the score configfrom(ScoreConfig other) isArchived(boolean isArchived) Whether the score config is archived.Sets maximum value for numerical scores.Sets maximum value for numerical scores.Sets maximum value for numerical scores.Sets minimum value for numerical scores.Sets minimum value for numerical scores.Sets minimum value for numerical scores.updatedAt(OffsetDateTime updatedAt)
-
Method Details
-
from
- Specified by:
fromin interfaceScoreConfig.IdStage
-
id
- Specified by:
idin interfaceScoreConfig.IdStage
-
name
- Specified by:
namein interfaceScoreConfig.NameStage
-
createdAt
- Specified by:
createdAtin interfaceScoreConfig.CreatedAtStage
-
updatedAt
- Specified by:
updatedAtin interfaceScoreConfig.UpdatedAtStage
-
projectId
- Specified by:
projectIdin interfaceScoreConfig.ProjectIdStage
-
dataType
- Specified by:
dataTypein interfaceScoreConfig.DataTypeStage
-
isArchived
Whether the score config is archived. Defaults to false
Whether the score config is archived. Defaults to false
- Specified by:
isArchivedin interfaceScoreConfig.IsArchivedStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
Description of the score config
- Specified by:
descriptionin interfaceScoreConfig._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
Description of the score config
- Specified by:
descriptionin interfaceScoreConfig._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
Description of the score config
- Specified by:
descriptionin interfaceScoreConfig._FinalStage
-
categories
Configures custom categories for categorical scores
- Specified by:
categoriesin interfaceScoreConfig._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
categories
Configures custom categories for categorical scores
- Specified by:
categoriesin interfaceScoreConfig._FinalStage
-
maxValue
Sets maximum value for numerical scores. If not set, the maximum value defaults to +∞
- Specified by:
maxValuein interfaceScoreConfig._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
maxValue
Sets maximum value for numerical scores. If not set, the maximum value defaults to +∞
- Specified by:
maxValuein interfaceScoreConfig._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
maxValue
Sets maximum value for numerical scores. If not set, the maximum value defaults to +∞
- Specified by:
maxValuein interfaceScoreConfig._FinalStage
-
minValue
Sets minimum value for numerical scores. If not set, the minimum value defaults to -∞
- Specified by:
minValuein interfaceScoreConfig._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
minValue
Sets minimum value for numerical scores. If not set, the minimum value defaults to -∞
- Specified by:
minValuein interfaceScoreConfig._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
minValue
Sets minimum value for numerical scores. If not set, the minimum value defaults to -∞
- Specified by:
minValuein interfaceScoreConfig._FinalStage
-
build
- Specified by:
buildin interfaceScoreConfig._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceScoreConfig._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceScoreConfig._FinalStage
-