Class BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsDeploymentUserDefineOutcomeEvent.BuilderA builder for BetaManagedAgentsDeploymentUserDefineOutcomeEvent.
-
-
Method Summary
-
-
Method Detail
-
description
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder description(String description)
What the agent should produce. This is the task specification.
-
description
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
rubric
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder rubric(BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Rubric rubric)
Rubric for grading the quality of an outcome.
-
rubric
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder rubric(JsonField<BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Rubric> rubric)
Sets Builder.rubric to an arbitrary JSON value.
You should usually call Builder.rubric with a well-typed Rubric value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
rubric
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder rubric(BetaManagedAgentsFileRubric file)
Alias for calling rubric with
Rubric.ofFile(file).
-
rubric
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder rubric(BetaManagedAgentsTextRubric text)
Alias for calling rubric with
Rubric.ofText(text).
-
fileRubric
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder fileRubric(String fileId)
Alias for calling rubric with the following:
BetaManagedAgentsFileRubric.builder() .type(BetaManagedAgentsFileRubric.Type.FILE) .fileId(fileId) .build()
-
textRubric
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder textRubric(String content)
Alias for calling rubric with the following:
BetaManagedAgentsTextRubric.builder() .type(BetaManagedAgentsTextRubric.Type.TEXT) .content(content) .build()
-
type
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder type(BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Type type)
-
type
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder type(JsonField<BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
maxIterations
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder maxIterations(Integer maxIterations)
Eval→revision cycles before giving up. Default 3, max 20.
-
maxIterations
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder maxIterations(Integer maxIterations)
Alias for Builder.maxIterations.
This unboxed primitive overload exists for backwards compatibility.
-
maxIterations
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder maxIterations(Optional<Integer> maxIterations)
Alias for calling Builder.maxIterations with
maxIterations.orElse(null).
-
maxIterations
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder maxIterations(JsonField<Integer> maxIterations)
Sets Builder.maxIterations to an arbitrary JSON value.
You should usually call Builder.maxIterations with a well-typed Int value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsDeploymentUserDefineOutcomeEvent build()
Returns an immutable instance of BetaManagedAgentsDeploymentUserDefineOutcomeEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.description() .rubric() .type()
-
-
-
-