Class RedTeamRetrieveEvaluationResultsResponse.Builder
-
- All Implemented Interfaces:
public final class RedTeamRetrieveEvaluationResultsResponse.BuilderA builder for RedTeamRetrieveEvaluationResultsResponse.
-
-
Method Summary
-
-
Method Detail
-
result
final RedTeamRetrieveEvaluationResultsResponse.Builder result(RedTeamRetrieveEvaluationResultsResponse.Result result)
Full red team workflow result payload.
-
result
final RedTeamRetrieveEvaluationResultsResponse.Builder result(JsonField<RedTeamRetrieveEvaluationResultsResponse.Result> result)
Sets Builder.result to an arbitrary JSON value.
You should usually call Builder.result with a well-typed Result value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
runId
final RedTeamRetrieveEvaluationResultsResponse.Builder runId(String runId)
Run identifier
-
runId
final RedTeamRetrieveEvaluationResultsResponse.Builder runId(JsonField<String> runId)
Sets Builder.runId to an arbitrary JSON value.
You should usually call Builder.runId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
workflowId
final RedTeamRetrieveEvaluationResultsResponse.Builder workflowId(String workflowId)
Workflow identifier
-
workflowId
final RedTeamRetrieveEvaluationResultsResponse.Builder workflowId(JsonField<String> workflowId)
Sets Builder.workflowId to an arbitrary JSON value.
You should usually call Builder.workflowId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final RedTeamRetrieveEvaluationResultsResponse.Builder status(String status)
Workflow status (e.g., "completed")
-
status
final RedTeamRetrieveEvaluationResultsResponse.Builder status(JsonField<String> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RedTeamRetrieveEvaluationResultsResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RedTeamRetrieveEvaluationResultsResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RedTeamRetrieveEvaluationResultsResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RedTeamRetrieveEvaluationResultsResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RedTeamRetrieveEvaluationResultsResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RedTeamRetrieveEvaluationResultsResponse build()
Returns an immutable instance of RedTeamRetrieveEvaluationResultsResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.result() .runId() .workflowId()
-
-
-
-