Class RoutingStrategyCreateRequest.Builder
-
- All Implemented Interfaces:
public final class RoutingStrategyCreateRequest.BuilderA builder for RoutingStrategyCreateRequest.
-
-
Method Summary
-
-
Method Detail
-
name
final RoutingStrategyCreateRequest.Builder name(String name)
Human-readable name for the routing strategy.
-
name
final RoutingStrategyCreateRequest.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
routing
final RoutingStrategyCreateRequest.Builder routing(MessageRouting routing)
Routing tree defining channel selection method and order.
-
routing
final RoutingStrategyCreateRequest.Builder routing(JsonField<MessageRouting> routing)
Sets Builder.routing to an arbitrary JSON value.
You should usually call Builder.routing with a well-typed MessageRouting value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
channels
final RoutingStrategyCreateRequest.Builder channels(MessageChannels channels)
Per-channel delivery configuration. Defaults to empty if omitted.
-
channels
final RoutingStrategyCreateRequest.Builder channels(Optional<MessageChannels> channels)
Alias for calling Builder.channels with
channels.orElse(null).
-
channels
final RoutingStrategyCreateRequest.Builder channels(JsonField<MessageChannels> channels)
Sets Builder.channels to an arbitrary JSON value.
You should usually call Builder.channels with a well-typed MessageChannels value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final RoutingStrategyCreateRequest.Builder description(String description)
Optional description of the routing strategy.
-
description
final RoutingStrategyCreateRequest.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final RoutingStrategyCreateRequest.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
providers
final RoutingStrategyCreateRequest.Builder providers(MessageProviders providers)
Per-provider delivery configuration. Defaults to empty if omitted.
-
providers
final RoutingStrategyCreateRequest.Builder providers(Optional<MessageProviders> providers)
Alias for calling Builder.providers with
providers.orElse(null).
-
providers
final RoutingStrategyCreateRequest.Builder providers(JsonField<MessageProviders> providers)
Sets Builder.providers to an arbitrary JSON value.
You should usually call Builder.providers with a well-typed MessageProviders value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tags
final RoutingStrategyCreateRequest.Builder tags(List<String> tags)
Optional tags for categorization.
-
tags
final RoutingStrategyCreateRequest.Builder tags(Optional<List<String>> tags)
Alias for calling Builder.tags with
tags.orElse(null).
-
tags
final RoutingStrategyCreateRequest.Builder tags(JsonField<List<String>> tags)
Sets Builder.tags to an arbitrary JSON value.
You should usually call Builder.tags with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTag
final RoutingStrategyCreateRequest.Builder addTag(String tag)
-
additionalProperties
final RoutingStrategyCreateRequest.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RoutingStrategyCreateRequest.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RoutingStrategyCreateRequest.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RoutingStrategyCreateRequest.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RoutingStrategyCreateRequest.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RoutingStrategyCreateRequest build()
Returns an immutable instance of RoutingStrategyCreateRequest.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name() .routing()
-
-
-
-