Class RoutingStrategyGetResponse.Builder
-
- All Implemented Interfaces:
public final class RoutingStrategyGetResponse.BuilderA builder for RoutingStrategyGetResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final RoutingStrategyGetResponse.Builder id(String id)
The routing strategy ID (rs_ prefix).
-
id
final RoutingStrategyGetResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
channels
final RoutingStrategyGetResponse.Builder channels(MessageChannels channels)
Per-channel delivery configuration. May be empty.
-
channels
final RoutingStrategyGetResponse.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.
-
created
final RoutingStrategyGetResponse.Builder created(Long created)
Epoch milliseconds when the strategy was created.
-
created
final RoutingStrategyGetResponse.Builder created(JsonField<Long> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
creator
final RoutingStrategyGetResponse.Builder creator(String creator)
User ID of the creator.
-
creator
final RoutingStrategyGetResponse.Builder creator(JsonField<String> creator)
Sets Builder.creator to an arbitrary JSON value.
You should usually call Builder.creator with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final RoutingStrategyGetResponse.Builder name(String name)
Human-readable name.
-
name
final RoutingStrategyGetResponse.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.
-
providers
final RoutingStrategyGetResponse.Builder providers(MessageProviders providers)
Per-provider delivery configuration. May be empty.
-
providers
final RoutingStrategyGetResponse.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.
-
routing
final RoutingStrategyGetResponse.Builder routing(MessageRouting routing)
Routing tree defining channel selection method and order.
-
routing
final RoutingStrategyGetResponse.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.
-
description
final RoutingStrategyGetResponse.Builder description(String description)
Description of the routing strategy.
-
description
final RoutingStrategyGetResponse.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final RoutingStrategyGetResponse.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.
-
tags
final RoutingStrategyGetResponse.Builder tags(List<String> tags)
Tags for categorization.
-
tags
final RoutingStrategyGetResponse.Builder tags(Optional<List<String>> tags)
Alias for calling Builder.tags with
tags.orElse(null).
-
tags
final RoutingStrategyGetResponse.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 RoutingStrategyGetResponse.Builder addTag(String tag)
-
updated
final RoutingStrategyGetResponse.Builder updated(Long updated)
Epoch milliseconds of last update.
-
updated
final RoutingStrategyGetResponse.Builder updated(Long updated)
Alias for Builder.updated.
This unboxed primitive overload exists for backwards compatibility.
-
updated
final RoutingStrategyGetResponse.Builder updated(Optional<Long> updated)
Alias for calling Builder.updated with
updated.orElse(null).
-
updated
final RoutingStrategyGetResponse.Builder updated(JsonField<Long> updated)
Sets Builder.updated to an arbitrary JSON value.
You should usually call Builder.updated with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updater
final RoutingStrategyGetResponse.Builder updater(String updater)
User ID of the last updater.
-
updater
final RoutingStrategyGetResponse.Builder updater(Optional<String> updater)
Alias for calling Builder.updater with
updater.orElse(null).
-
updater
final RoutingStrategyGetResponse.Builder updater(JsonField<String> updater)
Sets Builder.updater to an arbitrary JSON value.
You should usually call Builder.updater 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 RoutingStrategyGetResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RoutingStrategyGetResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RoutingStrategyGetResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RoutingStrategyGetResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RoutingStrategyGetResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RoutingStrategyGetResponse build()
Returns an immutable instance of RoutingStrategyGetResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .channels() .created() .creator() .name() .providers() .routing()
-
-
-
-