Package com.courier.models.notifications
Class NotificationTemplatePayload.Routing.Builder
-
- All Implemented Interfaces:
public final class NotificationTemplatePayload.Routing.BuilderA builder for Routing.
-
-
Method Summary
Modifier and Type Method Description final NotificationTemplatePayload.Routing.BuilderstrategyId(String strategyId)final NotificationTemplatePayload.Routing.BuilderstrategyId(JsonField<String> strategyId)Sets Builder.strategyId to an arbitrary JSON value. final NotificationTemplatePayload.Routing.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final NotificationTemplatePayload.Routing.BuilderputAdditionalProperty(String key, JsonValue value)final NotificationTemplatePayload.Routing.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final NotificationTemplatePayload.Routing.BuilderremoveAdditionalProperty(String key)final NotificationTemplatePayload.Routing.BuilderremoveAllAdditionalProperties(Set<String> keys)final NotificationTemplatePayload.Routingbuild()Returns an immutable instance of Routing. -
-
Method Detail
-
strategyId
final NotificationTemplatePayload.Routing.Builder strategyId(String strategyId)
-
strategyId
final NotificationTemplatePayload.Routing.Builder strategyId(JsonField<String> strategyId)
Sets Builder.strategyId to an arbitrary JSON value.
You should usually call Builder.strategyId 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 NotificationTemplatePayload.Routing.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationTemplatePayload.Routing.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationTemplatePayload.Routing.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationTemplatePayload.Routing.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationTemplatePayload.Routing.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationTemplatePayload.Routing build()
Returns an immutable instance of Routing.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.strategyId()
-
-
-
-