Class SubscriptionTopicNew.Builder
-
- All Implemented Interfaces:
public final class SubscriptionTopicNew.BuilderA builder for SubscriptionTopicNew.
-
-
Method Summary
-
-
Method Detail
-
status
final SubscriptionTopicNew.Builder status(SubscriptionTopicNew.Status status)
-
status
final SubscriptionTopicNew.Builder status(JsonField<SubscriptionTopicNew.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
customRouting
final SubscriptionTopicNew.Builder customRouting(List<ChannelClassification> customRouting)
The default channels to send to this tenant when has_custom_routing is enabled
-
customRouting
final SubscriptionTopicNew.Builder customRouting(Optional<List<ChannelClassification>> customRouting)
Alias for calling Builder.customRouting with
customRouting.orElse(null).
-
customRouting
final SubscriptionTopicNew.Builder customRouting(JsonField<List<ChannelClassification>> customRouting)
Sets Builder.customRouting to an arbitrary JSON value.
You should usually call Builder.customRouting with a well-typed
List<ChannelClassification>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addCustomRouting
final SubscriptionTopicNew.Builder addCustomRouting(ChannelClassification customRouting)
Adds a single ChannelClassification to Builder.customRouting.
-
hasCustomRouting
final SubscriptionTopicNew.Builder hasCustomRouting(Boolean hasCustomRouting)
Override channel routing with custom preferences. This will override any template prefernces that are set, but a user can still customize their preferences
-
hasCustomRouting
final SubscriptionTopicNew.Builder hasCustomRouting(Boolean hasCustomRouting)
Alias for Builder.hasCustomRouting.
This unboxed primitive overload exists for backwards compatibility.
-
hasCustomRouting
final SubscriptionTopicNew.Builder hasCustomRouting(Optional<Boolean> hasCustomRouting)
Alias for calling Builder.hasCustomRouting with
hasCustomRouting.orElse(null).
-
hasCustomRouting
final SubscriptionTopicNew.Builder hasCustomRouting(JsonField<Boolean> hasCustomRouting)
Sets Builder.hasCustomRouting to an arbitrary JSON value.
You should usually call Builder.hasCustomRouting with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SubscriptionTopicNew.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SubscriptionTopicNew.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SubscriptionTopicNew.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SubscriptionTopicNew.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SubscriptionTopicNew.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SubscriptionTopicNew build()
Returns an immutable instance of SubscriptionTopicNew.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.status()
-
-
-
-