Class BulkUpdateMessageStatusParams.Builder
-
- All Implemented Interfaces:
public final class BulkUpdateMessageStatusParams.BuilderA builder for BulkUpdateMessageStatusParams.
-
-
Method Summary
-
-
Method Detail
-
channelId
final BulkUpdateMessageStatusParams.Builder channelId(String channelId)
-
channelId
final BulkUpdateMessageStatusParams.Builder channelId(Optional<String> channelId)
Alias for calling Builder.channelId with
channelId.orElse(null).
-
action
final BulkUpdateMessageStatusParams.Builder action(BulkUpdateMessageStatusParams.Action action)
-
action
final BulkUpdateMessageStatusParams.Builder action(Optional<BulkUpdateMessageStatusParams.Action> action)
Alias for calling Builder.action with
action.orElse(null).
-
body
final BulkUpdateMessageStatusParams.Builder body(BulkUpdateMessageStatusParams.Body body)
Sets the entire request body.
This is generally only useful if you are already constructing the body separately. Otherwise, it's more convenient to use the top-level setters instead:
-
archived
final BulkUpdateMessageStatusParams.Builder archived(BulkUpdateMessageStatusParams.Archived archived)
Limits the results to messages with the given archived status.
-
archived
final BulkUpdateMessageStatusParams.Builder archived(JsonField<BulkUpdateMessageStatusParams.Archived> archived)
Sets Builder.archived to an arbitrary JSON value.
You should usually call Builder.archived with a well-typed Archived value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deliveryStatus
final BulkUpdateMessageStatusParams.Builder deliveryStatus(BulkUpdateMessageStatusParams.DeliveryStatus deliveryStatus)
Limits the results to messages with the given delivery status.
-
deliveryStatus
final BulkUpdateMessageStatusParams.Builder deliveryStatus(JsonField<BulkUpdateMessageStatusParams.DeliveryStatus> deliveryStatus)
Sets Builder.deliveryStatus to an arbitrary JSON value.
You should usually call Builder.deliveryStatus with a well-typed DeliveryStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
engagementStatus
final BulkUpdateMessageStatusParams.Builder engagementStatus(BulkUpdateMessageStatusParams.EngagementStatus engagementStatus)
Limits the results to messages with the given engagement status.
-
engagementStatus
final BulkUpdateMessageStatusParams.Builder engagementStatus(JsonField<BulkUpdateMessageStatusParams.EngagementStatus> engagementStatus)
Sets Builder.engagementStatus to an arbitrary JSON value.
You should usually call Builder.engagementStatus with a well-typed EngagementStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hasTenant
final BulkUpdateMessageStatusParams.Builder hasTenant(Boolean hasTenant)
Limits the results to messages that have a tenant or not.
-
hasTenant
final BulkUpdateMessageStatusParams.Builder hasTenant(JsonField<Boolean> hasTenant)
Sets Builder.hasTenant to an arbitrary JSON value.
You should usually call Builder.hasTenant with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
newerThan
final BulkUpdateMessageStatusParams.Builder newerThan(OffsetDateTime newerThan)
Limits the results to messages inserted after the given date.
-
newerThan
final BulkUpdateMessageStatusParams.Builder newerThan(JsonField<OffsetDateTime> newerThan)
Sets Builder.newerThan to an arbitrary JSON value.
You should usually call Builder.newerThan with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
olderThan
final BulkUpdateMessageStatusParams.Builder olderThan(OffsetDateTime olderThan)
Limits the results to messages inserted before the given date.
-
olderThan
final BulkUpdateMessageStatusParams.Builder olderThan(JsonField<OffsetDateTime> olderThan)
Sets Builder.olderThan to an arbitrary JSON value.
You should usually call Builder.olderThan with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
recipientIds
final BulkUpdateMessageStatusParams.Builder recipientIds(List<String> recipientIds)
Limits the results to messages with the given recipient IDs.
-
recipientIds
final BulkUpdateMessageStatusParams.Builder recipientIds(JsonField<List<String>> recipientIds)
Sets Builder.recipientIds to an arbitrary JSON value.
You should usually call Builder.recipientIds with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addRecipientId
final BulkUpdateMessageStatusParams.Builder addRecipientId(String recipientId)
Adds a single String to recipientIds.
-
tenants
final BulkUpdateMessageStatusParams.Builder tenants(List<String> tenants)
Limits the results to messages with the given tenant IDs.
-
tenants
final BulkUpdateMessageStatusParams.Builder tenants(JsonField<List<String>> tenants)
Sets Builder.tenants to an arbitrary JSON value.
You should usually call Builder.tenants with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTenant
final BulkUpdateMessageStatusParams.Builder addTenant(String tenant)
-
triggerData
final BulkUpdateMessageStatusParams.Builder triggerData(String triggerData)
Limits the results to only messages that were generated with the given data. See /api-reference/overview/trigger-data-filtering for more information.
-
triggerData
final BulkUpdateMessageStatusParams.Builder triggerData(JsonField<String> triggerData)
Sets Builder.triggerData to an arbitrary JSON value.
You should usually call Builder.triggerData with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
workflows
final BulkUpdateMessageStatusParams.Builder workflows(List<String> workflows)
Limits the results to messages with the given workflow keys.
-
workflows
final BulkUpdateMessageStatusParams.Builder workflows(JsonField<List<String>> workflows)
Sets Builder.workflows to an arbitrary JSON value.
You should usually call Builder.workflows with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addWorkflow
final BulkUpdateMessageStatusParams.Builder addWorkflow(String workflow)
-
additionalBodyProperties
final BulkUpdateMessageStatusParams.Builder additionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
putAdditionalBodyProperty
final BulkUpdateMessageStatusParams.Builder putAdditionalBodyProperty(String key, JsonValue value)
-
putAllAdditionalBodyProperties
final BulkUpdateMessageStatusParams.Builder putAllAdditionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
removeAdditionalBodyProperty
final BulkUpdateMessageStatusParams.Builder removeAdditionalBodyProperty(String key)
-
removeAllAdditionalBodyProperties
final BulkUpdateMessageStatusParams.Builder removeAllAdditionalBodyProperties(Set<String> keys)
-
additionalHeaders
final BulkUpdateMessageStatusParams.Builder additionalHeaders(Headers additionalHeaders)
-
additionalHeaders
final BulkUpdateMessageStatusParams.Builder additionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
putAdditionalHeader
final BulkUpdateMessageStatusParams.Builder putAdditionalHeader(String name, String value)
-
putAdditionalHeaders
final BulkUpdateMessageStatusParams.Builder putAdditionalHeaders(String name, Iterable<String> values)
-
putAllAdditionalHeaders
final BulkUpdateMessageStatusParams.Builder putAllAdditionalHeaders(Headers additionalHeaders)
-
putAllAdditionalHeaders
final BulkUpdateMessageStatusParams.Builder putAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
replaceAdditionalHeaders
final BulkUpdateMessageStatusParams.Builder replaceAdditionalHeaders(String name, String value)
-
replaceAdditionalHeaders
final BulkUpdateMessageStatusParams.Builder replaceAdditionalHeaders(String name, Iterable<String> values)
-
replaceAllAdditionalHeaders
final BulkUpdateMessageStatusParams.Builder replaceAllAdditionalHeaders(Headers additionalHeaders)
-
replaceAllAdditionalHeaders
final BulkUpdateMessageStatusParams.Builder replaceAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
removeAdditionalHeaders
final BulkUpdateMessageStatusParams.Builder removeAdditionalHeaders(String name)
-
removeAllAdditionalHeaders
final BulkUpdateMessageStatusParams.Builder removeAllAdditionalHeaders(Set<String> names)
-
additionalQueryParams
final BulkUpdateMessageStatusParams.Builder additionalQueryParams(QueryParams additionalQueryParams)
-
additionalQueryParams
final BulkUpdateMessageStatusParams.Builder additionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
putAdditionalQueryParam
final BulkUpdateMessageStatusParams.Builder putAdditionalQueryParam(String key, String value)
-
putAdditionalQueryParams
final BulkUpdateMessageStatusParams.Builder putAdditionalQueryParams(String key, Iterable<String> values)
-
putAllAdditionalQueryParams
final BulkUpdateMessageStatusParams.Builder putAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
putAllAdditionalQueryParams
final BulkUpdateMessageStatusParams.Builder putAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
replaceAdditionalQueryParams
final BulkUpdateMessageStatusParams.Builder replaceAdditionalQueryParams(String key, String value)
-
replaceAdditionalQueryParams
final BulkUpdateMessageStatusParams.Builder replaceAdditionalQueryParams(String key, Iterable<String> values)
-
replaceAllAdditionalQueryParams
final BulkUpdateMessageStatusParams.Builder replaceAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
replaceAllAdditionalQueryParams
final BulkUpdateMessageStatusParams.Builder replaceAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
removeAdditionalQueryParams
final BulkUpdateMessageStatusParams.Builder removeAdditionalQueryParams(String key)
-
removeAllAdditionalQueryParams
final BulkUpdateMessageStatusParams.Builder removeAllAdditionalQueryParams(Set<String> keys)
-
build
final BulkUpdateMessageStatusParams build()
Returns an immutable instance of BulkUpdateMessageStatusParams.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-