Class Channel.Builder
-
- All Implemented Interfaces:
public final class Channel.BuilderA builder for Channel.
-
-
Method Summary
Modifier and Type Method Description final Channel.BuilderbrandId(String brandId)Brand id used for rendering. final Channel.BuilderbrandId(Optional<String> brandId)Alias for calling Builder.brandId with brandId.orElse(null).final Channel.BuilderbrandId(JsonField<String> brandId)Sets Builder.brandId to an arbitrary JSON value. final Channel.Builderif_(String if_)JS conditional with access to data/profile. final Channel.Builderif_(Optional<String> if_)Alias for calling Builder.if_ with if_.orElse(null).final Channel.Builderif_(JsonField<String> if_)Sets Builder.if_ to an arbitrary JSON value. final Channel.Buildermetadata(ChannelMetadata metadata)final Channel.Buildermetadata(Optional<ChannelMetadata> metadata)Alias for calling Builder.metadata with metadata.orElse(null).final Channel.Buildermetadata(JsonField<ChannelMetadata> metadata)Sets Builder.metadata to an arbitrary JSON value. final Channel.Builderoverride(Channel.Override override)Channel specific overrides. final Channel.Builderoverride(Optional<Channel.Override> override)Alias for calling Builder.override with override.orElse(null).final Channel.Builderoverride(JsonField<Channel.Override> override)Sets Builder.override to an arbitrary JSON value. final Channel.Builderproviders(List<String> providers)Providers enabled for this channel. final Channel.Builderproviders(Optional<List<String>> providers)Alias for calling Builder.providers with providers.orElse(null).final Channel.Builderproviders(JsonField<List<String>> providers)Sets Builder.providers to an arbitrary JSON value. final Channel.BuilderaddProvider(String provider)Adds a single String to providers. final Channel.BuilderroutingMethod(Channel.RoutingMethod routingMethod)Defaults to single.final Channel.BuilderroutingMethod(Optional<Channel.RoutingMethod> routingMethod)Alias for calling Builder.routingMethod with routingMethod.orElse(null).final Channel.BuilderroutingMethod(JsonField<Channel.RoutingMethod> routingMethod)Sets Builder.routingMethod to an arbitrary JSON value. final Channel.Buildertimeouts(Timeouts timeouts)final Channel.Buildertimeouts(Optional<Timeouts> timeouts)Alias for calling Builder.timeouts with timeouts.orElse(null).final Channel.Buildertimeouts(JsonField<Timeouts> timeouts)Sets Builder.timeouts to an arbitrary JSON value. final Channel.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Channel.BuilderputAdditionalProperty(String key, JsonValue value)final Channel.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Channel.BuilderremoveAdditionalProperty(String key)final Channel.BuilderremoveAllAdditionalProperties(Set<String> keys)final Channelbuild()Returns an immutable instance of Channel. -
-
Method Detail
-
brandId
final Channel.Builder brandId(String brandId)
Brand id used for rendering.
-
brandId
final Channel.Builder brandId(Optional<String> brandId)
Alias for calling Builder.brandId with
brandId.orElse(null).
-
brandId
final Channel.Builder brandId(JsonField<String> brandId)
Sets Builder.brandId to an arbitrary JSON value.
You should usually call Builder.brandId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
if_
final Channel.Builder if_(String if_)
JS conditional with access to data/profile.
-
if_
final Channel.Builder if_(Optional<String> if_)
Alias for calling Builder.if_ with
if_.orElse(null).
-
if_
final Channel.Builder if_(JsonField<String> if_)
Sets Builder.if_ to an arbitrary JSON value.
You should usually call Builder.if_ with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final Channel.Builder metadata(ChannelMetadata metadata)
-
metadata
final Channel.Builder metadata(Optional<ChannelMetadata> metadata)
Alias for calling Builder.metadata with
metadata.orElse(null).
-
metadata
final Channel.Builder metadata(JsonField<ChannelMetadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed ChannelMetadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
override
final Channel.Builder override(Channel.Override override)
Channel specific overrides.
-
override
final Channel.Builder override(Optional<Channel.Override> override)
Alias for calling Builder.override with
override.orElse(null).
-
override
final Channel.Builder override(JsonField<Channel.Override> override)
Sets Builder.override to an arbitrary JSON value.
You should usually call Builder.override with a well-typed Override value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
providers
final Channel.Builder providers(List<String> providers)
Providers enabled for this channel.
-
providers
final Channel.Builder providers(Optional<List<String>> providers)
Alias for calling Builder.providers with
providers.orElse(null).
-
providers
final Channel.Builder providers(JsonField<List<String>> providers)
Sets Builder.providers to an arbitrary JSON value.
You should usually call Builder.providers with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addProvider
final Channel.Builder addProvider(String provider)
-
routingMethod
final Channel.Builder routingMethod(Channel.RoutingMethod routingMethod)
Defaults to
single.
-
routingMethod
final Channel.Builder routingMethod(Optional<Channel.RoutingMethod> routingMethod)
Alias for calling Builder.routingMethod with
routingMethod.orElse(null).
-
routingMethod
final Channel.Builder routingMethod(JsonField<Channel.RoutingMethod> routingMethod)
Sets Builder.routingMethod to an arbitrary JSON value.
You should usually call Builder.routingMethod with a well-typed RoutingMethod value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
timeouts
final Channel.Builder timeouts(Timeouts timeouts)
-
timeouts
final Channel.Builder timeouts(Optional<Timeouts> timeouts)
Alias for calling Builder.timeouts with
timeouts.orElse(null).
-
timeouts
final Channel.Builder timeouts(JsonField<Timeouts> timeouts)
Sets Builder.timeouts to an arbitrary JSON value.
You should usually call Builder.timeouts with a well-typed Timeouts value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Channel.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Channel.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Channel.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Channel.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Channel.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-