Class MessageRouting.Builder
-
- All Implemented Interfaces:
public final class MessageRouting.BuilderA builder for MessageRouting.
-
-
Method Summary
-
-
Method Detail
-
channels
final MessageRouting.Builder channels(List<MessageRoutingChannel> channels)
-
channels
final MessageRouting.Builder channels(JsonField<List<MessageRoutingChannel>> channels)
Sets Builder.channels to an arbitrary JSON value.
You should usually call Builder.channels with a well-typed
List<MessageRoutingChannel>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addChannel
final MessageRouting.Builder addChannel(MessageRoutingChannel channel)
Adds a single MessageRoutingChannel to channels.
-
addChannel
final MessageRouting.Builder addChannel(String string)
Alias for calling addChannel with
MessageRoutingChannel.ofString(string).
-
addChannel
final MessageRouting.Builder addChannel(MessageRouting messageRouting)
Alias for calling addChannel with
MessageRoutingChannel.ofMessageRouting(messageRouting).
-
method
final MessageRouting.Builder method(MessageRouting.Method method)
-
method
final MessageRouting.Builder method(JsonField<MessageRouting.Method> method)
Sets Builder.method to an arbitrary JSON value.
You should usually call Builder.method with a well-typed Method value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MessageRouting.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageRouting.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageRouting.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageRouting.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageRouting.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageRouting build()
Returns an immutable instance of MessageRouting.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.channels() .method()
-
-
-
-