Class RoutingStrategyCreateRequest
-
- All Implemented Interfaces:
public final class RoutingStrategyCreateRequestRequest body for creating a routing strategy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRoutingStrategyCreateRequest.BuilderA builder for RoutingStrategyCreateRequest.
-
Method Summary
Modifier and Type Method Description final Stringname()Human-readable name for the routing strategy. final MessageRoutingrouting()Routing tree defining channel selection method and order. final Optional<MessageChannels>channels()Per-channel delivery configuration. final Optional<String>description()Optional description of the routing strategy. final Optional<MessageProviders>providers()Per-provider delivery configuration. final Optional<List<String>>tags()Optional tags for categorization. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<MessageRouting>_routing()Returns the raw JSON value of routing. final JsonField<MessageChannels>_channels()Returns the raw JSON value of channels. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<MessageProviders>_providers()Returns the raw JSON value of providers. final JsonField<List<String>>_tags()Returns the raw JSON value of tags. final Map<String, JsonValue>_additionalProperties()final RoutingStrategyCreateRequest.BuildertoBuilder()final RoutingStrategyCreateRequestvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RoutingStrategyCreateRequest.Builderbuilder()Returns a mutable builder for constructing an instance of RoutingStrategyCreateRequest. -
-
Method Detail
-
routing
final MessageRouting routing()
Routing tree defining channel selection method and order.
-
channels
final Optional<MessageChannels> channels()
Per-channel delivery configuration. Defaults to empty if omitted.
-
description
final Optional<String> description()
Optional description of the routing strategy.
-
providers
final Optional<MessageProviders> providers()
Per-provider delivery configuration. Defaults to empty if omitted.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_routing
final JsonField<MessageRouting> _routing()
Returns the raw JSON value of routing.
Unlike routing, this method doesn't throw if the JSON field has an unexpected type.
-
_channels
final JsonField<MessageChannels> _channels()
Returns the raw JSON value of channels.
Unlike channels, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_providers
final JsonField<MessageProviders> _providers()
Returns the raw JSON value of providers.
Unlike providers, this method doesn't throw if the JSON field has an unexpected type.
-
_tags
final JsonField<List<String>> _tags()
Returns the raw JSON value of tags.
Unlike tags, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RoutingStrategyCreateRequest.Builder toBuilder()
-
validate
final RoutingStrategyCreateRequest validate()
-
builder
final static RoutingStrategyCreateRequest.Builder builder()
Returns a mutable builder for constructing an instance of RoutingStrategyCreateRequest.
The following fields are required:
.name() .routing()
-
-
-
-