Class BetaManagedAgentsWorkflowRunResultError.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsWorkflowRunResultError.BuilderA builder for BetaManagedAgentsWorkflowRunResultError.
-
-
Method Summary
-
-
Method Detail
-
error
final BetaManagedAgentsWorkflowRunResultError.Builder error(BetaManagedAgentsWorkflowRunError error)
Why the run did not finish.
-
error
final BetaManagedAgentsWorkflowRunResultError.Builder error(JsonField<BetaManagedAgentsWorkflowRunError> error)
Sets Builder.error to an arbitrary JSON value.
You should usually call Builder.error with a well-typed BetaManagedAgentsWorkflowRunError value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
error
final BetaManagedAgentsWorkflowRunResultError.Builder error(BetaManagedAgentsTimeoutWorkflowRunError timeout)
Alias for calling error with
BetaManagedAgentsWorkflowRunError.ofTimeout(timeout).
-
error
final BetaManagedAgentsWorkflowRunResultError.Builder error(BetaManagedAgentsProgramWorkflowRunError program)
Alias for calling error with
BetaManagedAgentsWorkflowRunError.ofProgram(program).
-
error
final BetaManagedAgentsWorkflowRunResultError.Builder error(BetaManagedAgentsUnknownWorkflowRunError unknown)
Alias for calling error with
BetaManagedAgentsWorkflowRunError.ofUnknown(unknown).
-
error
final BetaManagedAgentsWorkflowRunResultError.Builder error(BetaManagedAgentsThreadLimitWorkflowRunError threadLimit)
Alias for calling error with
BetaManagedAgentsWorkflowRunError.ofThreadLimit(threadLimit).
-
error
final BetaManagedAgentsWorkflowRunResultError.Builder error(BetaManagedAgentsMaxWorkflowRunsWorkflowRunError maxWorkflowRuns)
Alias for calling error with
BetaManagedAgentsWorkflowRunError.ofMaxWorkflowRuns(maxWorkflowRuns).
-
type
final BetaManagedAgentsWorkflowRunResultError.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("error")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsWorkflowRunResultError.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
timeoutError
final BetaManagedAgentsWorkflowRunResultError.Builder timeoutError(String message)
Alias for calling error with the following:
BetaManagedAgentsTimeoutWorkflowRunError.builder() .message(message) .build()
-
programError
final BetaManagedAgentsWorkflowRunResultError.Builder programError(String message)
Alias for calling error with the following:
BetaManagedAgentsProgramWorkflowRunError.builder() .message(message) .build()
-
unknownError
final BetaManagedAgentsWorkflowRunResultError.Builder unknownError(String message)
Alias for calling error with the following:
BetaManagedAgentsUnknownWorkflowRunError.builder() .message(message) .build()
-
threadLimitError
final BetaManagedAgentsWorkflowRunResultError.Builder threadLimitError(String message)
Alias for calling error with the following:
BetaManagedAgentsThreadLimitWorkflowRunError.builder() .message(message) .build()
-
maxWorkflowRunsError
final BetaManagedAgentsWorkflowRunResultError.Builder maxWorkflowRunsError(String message)
Alias for calling error with the following:
BetaManagedAgentsMaxWorkflowRunsWorkflowRunError.builder() .message(message) .build()
-
putAdditionalProperty
final BetaManagedAgentsWorkflowRunResultError.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsWorkflowRunResultError.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsWorkflowRunResultError.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsWorkflowRunResultError.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsWorkflowRunResultError build()
Returns an immutable instance of BetaManagedAgentsWorkflowRunResultError.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.error()
-
-
-
-