Class PromptMeta.Builder
java.lang.Object
com.ants.platform.client.resources.prompts.types.PromptMeta.Builder
- All Implemented Interfaces:
PromptMeta._FinalStage,PromptMeta.LastConfigStage,PromptMeta.LastUpdatedAtStage,PromptMeta.NameStage
- Enclosing class:
PromptMeta
public static final class PromptMeta.Builder
extends Object
implements PromptMeta.NameStage, PromptMeta.LastUpdatedAtStage, PromptMeta.LastConfigStage, PromptMeta._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllLabels(List<String> labels) addAllTags(List<String> tags) addAllVersions(List<Integer> versions) addVersions(Integer versions) build()from(PromptMeta other) lastConfig(Object lastConfig) Config object of the most recent prompt version that matches the filters (if any are provided)lastUpdatedAt(OffsetDateTime lastUpdatedAt)
-
Method Details
-
from
- Specified by:
fromin interfacePromptMeta.NameStage
-
name
- Specified by:
namein interfacePromptMeta.NameStage
-
lastUpdatedAt
- Specified by:
lastUpdatedAtin interfacePromptMeta.LastUpdatedAtStage
-
lastConfig
Config object of the most recent prompt version that matches the filters (if any are provided)
- Specified by:
lastConfigin interfacePromptMeta.LastConfigStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllTags
- Specified by:
addAllTagsin interfacePromptMeta._FinalStage
-
addTags
- Specified by:
addTagsin interfacePromptMeta._FinalStage
-
tags
- Specified by:
tagsin interfacePromptMeta._FinalStage
-
addAllLabels
- Specified by:
addAllLabelsin interfacePromptMeta._FinalStage
-
addLabels
- Specified by:
addLabelsin interfacePromptMeta._FinalStage
-
labels
- Specified by:
labelsin interfacePromptMeta._FinalStage
-
addAllVersions
- Specified by:
addAllVersionsin interfacePromptMeta._FinalStage
-
addVersions
- Specified by:
addVersionsin interfacePromptMeta._FinalStage
-
versions
- Specified by:
versionsin interfacePromptMeta._FinalStage
-
build
- Specified by:
buildin interfacePromptMeta._FinalStage
-