Class ScheduleUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class ScheduleUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
scheduleIds
final ScheduleUpdateParams.Body.Builder scheduleIds(List<String> scheduleIds)
A list of schedule IDs.
-
scheduleIds
final ScheduleUpdateParams.Body.Builder scheduleIds(JsonField<List<String>> scheduleIds)
Sets Builder.scheduleIds to an arbitrary JSON value.
You should usually call Builder.scheduleIds with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addScheduleId
final ScheduleUpdateParams.Body.Builder addScheduleId(String scheduleId)
Adds a single String to scheduleIds.
-
actor
final ScheduleUpdateParams.Body.Builder actor(RecipientReference actor)
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
-
actor
final ScheduleUpdateParams.Body.Builder actor(Optional<RecipientReference> actor)
Alias for calling Builder.actor with
actor.orElse(null).
-
actor
final ScheduleUpdateParams.Body.Builder actor(JsonField<RecipientReference> actor)
Sets Builder.actor to an arbitrary JSON value.
You should usually call Builder.actor with a well-typed RecipientReference value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
actor
final ScheduleUpdateParams.Body.Builder actor(String user)
Alias for calling actor with
RecipientReference.ofUser(user).
-
actor
final ScheduleUpdateParams.Body.Builder actor(RecipientReference.ObjectReference objectReference)
Alias for calling actor with
RecipientReference.ofObjectReference(objectReference).
-
data
final ScheduleUpdateParams.Body.Builder data(ScheduleUpdateParams.Data data)
An optional map of data to pass into the workflow execution.
-
data
final ScheduleUpdateParams.Body.Builder data(Optional<ScheduleUpdateParams.Data> data)
Alias for calling Builder.data with
data.orElse(null).
-
data
final ScheduleUpdateParams.Body.Builder data(JsonField<ScheduleUpdateParams.Data> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed Data value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
endingAt
final ScheduleUpdateParams.Body.Builder endingAt(OffsetDateTime endingAt)
The ending date and time for the schedule.
-
endingAt
final ScheduleUpdateParams.Body.Builder endingAt(Optional<OffsetDateTime> endingAt)
Alias for calling Builder.endingAt with
endingAt.orElse(null).
-
endingAt
final ScheduleUpdateParams.Body.Builder endingAt(JsonField<OffsetDateTime> endingAt)
Sets Builder.endingAt to an arbitrary JSON value.
You should usually call Builder.endingAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
repeats
final ScheduleUpdateParams.Body.Builder repeats(List<ScheduleRepeatRule> repeats)
The repeat rule for the schedule.
-
repeats
final ScheduleUpdateParams.Body.Builder repeats(JsonField<List<ScheduleRepeatRule>> repeats)
Sets Builder.repeats to an arbitrary JSON value.
You should usually call Builder.repeats with a well-typed
List<ScheduleRepeatRule>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addRepeat
final ScheduleUpdateParams.Body.Builder addRepeat(ScheduleRepeatRule repeat)
Adds a single ScheduleRepeatRule to repeats.
-
scheduledAt
final ScheduleUpdateParams.Body.Builder scheduledAt(OffsetDateTime scheduledAt)
The starting date and time for the schedule.
-
scheduledAt
final ScheduleUpdateParams.Body.Builder scheduledAt(Optional<OffsetDateTime> scheduledAt)
Alias for calling Builder.scheduledAt with
scheduledAt.orElse(null).
-
scheduledAt
final ScheduleUpdateParams.Body.Builder scheduledAt(JsonField<OffsetDateTime> scheduledAt)
Sets Builder.scheduledAt to an arbitrary JSON value.
You should usually call Builder.scheduledAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tenant
final ScheduleUpdateParams.Body.Builder tenant(InlineTenantRequest tenant)
An request to set a tenant inline.
-
tenant
final ScheduleUpdateParams.Body.Builder tenant(Optional<InlineTenantRequest> tenant)
Alias for calling Builder.tenant with
tenant.orElse(null).
-
tenant
final ScheduleUpdateParams.Body.Builder tenant(JsonField<InlineTenantRequest> tenant)
Sets Builder.tenant to an arbitrary JSON value.
You should usually call Builder.tenant with a well-typed InlineTenantRequest value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tenant
final ScheduleUpdateParams.Body.Builder tenant(String string)
Alias for calling tenant with
InlineTenantRequest.ofString(string).
-
tenant
final ScheduleUpdateParams.Body.Builder tenant(TenantRequest tenantRequest)
Alias for calling tenant with
InlineTenantRequest.ofTenantRequest(tenantRequest).
-
additionalProperties
final ScheduleUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ScheduleUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ScheduleUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ScheduleUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ScheduleUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ScheduleUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.scheduleIds()
-
-
-
-