Class BulkCreateParams.Schedule.Builder
-
- All Implemented Interfaces:
public final class BulkCreateParams.Schedule.BuilderA builder for Schedule.
-
-
Method Summary
-
-
Method Detail
-
workflow
final BulkCreateParams.Schedule.Builder workflow(String workflow)
The key of the workflow.
-
workflow
final BulkCreateParams.Schedule.Builder workflow(JsonField<String> workflow)
Sets Builder.workflow to an arbitrary JSON value.
You should usually call Builder.workflow with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
actor
final BulkCreateParams.Schedule.Builder actor(RecipientRequest actor)
Specifies a recipient in a request. This can either be a user identifier (string), an inline user request (object), or an inline object request, which is determined by the presence of a
collectionproperty.
-
actor
final BulkCreateParams.Schedule.Builder actor(Optional<RecipientRequest> actor)
Alias for calling Builder.actor with
actor.orElse(null).
-
actor
final BulkCreateParams.Schedule.Builder actor(JsonField<RecipientRequest> actor)
Sets Builder.actor to an arbitrary JSON value.
You should usually call Builder.actor with a well-typed RecipientRequest value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
actor
final BulkCreateParams.Schedule.Builder actor(String userRecipient)
Alias for calling actor with
RecipientRequest.ofUserRecipient(userRecipient).
-
actor
final BulkCreateParams.Schedule.Builder actor(InlineIdentifyUserRequest inlineIdentifyUser)
Alias for calling actor with
RecipientRequest.ofInlineIdentifyUser(inlineIdentifyUser).
-
actor
final BulkCreateParams.Schedule.Builder actor(InlineObjectRequest inlineObject)
Alias for calling actor with
RecipientRequest.ofInlineObject(inlineObject).
-
data
final BulkCreateParams.Schedule.Builder data(BulkCreateParams.Schedule.Data data)
An optional map of data to pass into the workflow execution.
-
data
final BulkCreateParams.Schedule.Builder data(Optional<BulkCreateParams.Schedule.Data> data)
Alias for calling Builder.data with
data.orElse(null).
-
data
final BulkCreateParams.Schedule.Builder data(JsonField<BulkCreateParams.Schedule.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 BulkCreateParams.Schedule.Builder endingAt(OffsetDateTime endingAt)
The ending date and time for the schedule.
-
endingAt
final BulkCreateParams.Schedule.Builder endingAt(Optional<OffsetDateTime> endingAt)
Alias for calling Builder.endingAt with
endingAt.orElse(null).
-
endingAt
final BulkCreateParams.Schedule.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.
-
recipient
final BulkCreateParams.Schedule.Builder recipient(RecipientRequest recipient)
Specifies a recipient in a request. This can either be a user identifier (string), an inline user request (object), or an inline object request, which is determined by the presence of a
collectionproperty.
-
recipient
final BulkCreateParams.Schedule.Builder recipient(JsonField<RecipientRequest> recipient)
Sets Builder.recipient to an arbitrary JSON value.
You should usually call Builder.recipient with a well-typed RecipientRequest value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
recipient
final BulkCreateParams.Schedule.Builder recipient(String userRecipient)
Alias for calling recipient with
RecipientRequest.ofUserRecipient(userRecipient).
-
recipient
final BulkCreateParams.Schedule.Builder recipient(InlineIdentifyUserRequest inlineIdentifyUser)
Alias for calling recipient with
RecipientRequest.ofInlineIdentifyUser(inlineIdentifyUser).
-
recipient
final BulkCreateParams.Schedule.Builder recipient(InlineObjectRequest inlineObject)
Alias for calling recipient with
RecipientRequest.ofInlineObject(inlineObject).
-
repeats
final BulkCreateParams.Schedule.Builder repeats(List<ScheduleRepeatRule> repeats)
The repeat rule for the schedule.
-
repeats
final BulkCreateParams.Schedule.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 BulkCreateParams.Schedule.Builder addRepeat(ScheduleRepeatRule repeat)
Adds a single ScheduleRepeatRule to repeats.
-
scheduledAt
final BulkCreateParams.Schedule.Builder scheduledAt(OffsetDateTime scheduledAt)
The starting date and time for the schedule.
-
scheduledAt
final BulkCreateParams.Schedule.Builder scheduledAt(Optional<OffsetDateTime> scheduledAt)
Alias for calling Builder.scheduledAt with
scheduledAt.orElse(null).
-
scheduledAt
final BulkCreateParams.Schedule.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 BulkCreateParams.Schedule.Builder tenant(InlineTenantRequest tenant)
An request to set a tenant inline.
-
tenant
final BulkCreateParams.Schedule.Builder tenant(Optional<InlineTenantRequest> tenant)
Alias for calling Builder.tenant with
tenant.orElse(null).
-
tenant
final BulkCreateParams.Schedule.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 BulkCreateParams.Schedule.Builder tenant(String string)
Alias for calling tenant with
InlineTenantRequest.ofString(string).
-
tenant
final BulkCreateParams.Schedule.Builder tenant(TenantRequest tenantRequest)
Alias for calling tenant with
InlineTenantRequest.ofTenantRequest(tenantRequest).
-
additionalProperties
final BulkCreateParams.Schedule.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BulkCreateParams.Schedule.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BulkCreateParams.Schedule.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BulkCreateParams.Schedule.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BulkCreateParams.Schedule.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BulkCreateParams.Schedule build()
Returns an immutable instance of Schedule.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.workflow()
-
-
-
-