Class V1DraftResponse.Builder
-
- All Implemented Interfaces:
public final class V1DraftResponse.BuilderA builder for V1DraftResponse.
-
-
Method Summary
-
-
Method Detail
-
agentId
final V1DraftResponse.Builder agentId(String agentId)
Ephemeral agent ID
-
agentId
final V1DraftResponse.Builder agentId(JsonField<String> agentId)
Sets Builder.agentId to an arbitrary JSON value.
You should usually call Builder.agentId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
message
final V1DraftResponse.Builder message(String message)
-
message
final V1DraftResponse.Builder message(JsonField<String> message)
Sets Builder.message to an arbitrary JSON value.
You should usually call Builder.message with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
runId
final V1DraftResponse.Builder runId(String runId)
Run ID — poll /agent/v1/run/:id/status for progress
-
runId
final V1DraftResponse.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.
-
status
final V1DraftResponse.Builder status(V1DraftResponse.Status status)
-
status
final V1DraftResponse.Builder status(JsonField<V1DraftResponse.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final V1DraftResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V1DraftResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V1DraftResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V1DraftResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V1DraftResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V1DraftResponse build()
Returns an immutable instance of V1DraftResponse.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-