Package app.knock.api.models.workflows
Class WorkflowTriggerResponse.Builder
-
- All Implemented Interfaces:
public final class WorkflowTriggerResponse.BuilderA builder for WorkflowTriggerResponse.
-
-
Method Summary
Modifier and Type Method Description final WorkflowTriggerResponse.BuilderworkflowRunId(String workflowRunId)This value allows you to track individual messages associated with this trigger request. final WorkflowTriggerResponse.BuilderworkflowRunId(JsonField<String> workflowRunId)Sets Builder.workflowRunId to an arbitrary JSON value. final WorkflowTriggerResponse.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final WorkflowTriggerResponse.BuilderputAdditionalProperty(String key, JsonValue value)final WorkflowTriggerResponse.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final WorkflowTriggerResponse.BuilderremoveAdditionalProperty(String key)final WorkflowTriggerResponse.BuilderremoveAllAdditionalProperties(Set<String> keys)final WorkflowTriggerResponsebuild()Returns an immutable instance of WorkflowTriggerResponse. -
-
Method Detail
-
workflowRunId
final WorkflowTriggerResponse.Builder workflowRunId(String workflowRunId)
This value allows you to track individual messages associated with this trigger request.
-
workflowRunId
final WorkflowTriggerResponse.Builder workflowRunId(JsonField<String> workflowRunId)
Sets Builder.workflowRunId to an arbitrary JSON value.
You should usually call Builder.workflowRunId 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 WorkflowTriggerResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WorkflowTriggerResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WorkflowTriggerResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WorkflowTriggerResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WorkflowTriggerResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WorkflowTriggerResponse build()
Returns an immutable instance of WorkflowTriggerResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.workflowRunId()
-
-
-
-