Class MessageProvidersType.Builder
-
- All Implemented Interfaces:
public final class MessageProvidersType.BuilderA builder for MessageProvidersType.
-
-
Method Summary
-
-
Method Detail
-
if_
final MessageProvidersType.Builder if_(String if_)
JS conditional with access to data/profile.
-
if_
final MessageProvidersType.Builder if_(Optional<String> if_)
Alias for calling Builder.if_ with
if_.orElse(null).
-
if_
final MessageProvidersType.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 MessageProvidersType.Builder metadata(Metadata metadata)
-
metadata
final MessageProvidersType.Builder metadata(Optional<Metadata> metadata)
Alias for calling Builder.metadata with
metadata.orElse(null).
-
metadata
final MessageProvidersType.Builder metadata(JsonField<Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
override
final MessageProvidersType.Builder override(MessageProvidersType.Override override)
Provider-specific overrides.
-
override
final MessageProvidersType.Builder override(Optional<MessageProvidersType.Override> override)
Alias for calling Builder.override with
override.orElse(null).
-
override
final MessageProvidersType.Builder override(JsonField<MessageProvidersType.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.
-
timeouts
final MessageProvidersType.Builder timeouts(Long timeouts)
-
timeouts
final MessageProvidersType.Builder timeouts(Long timeouts)
Alias for Builder.timeouts.
This unboxed primitive overload exists for backwards compatibility.
-
timeouts
final MessageProvidersType.Builder timeouts(Optional<Long> timeouts)
Alias for calling Builder.timeouts with
timeouts.orElse(null).
-
timeouts
final MessageProvidersType.Builder timeouts(JsonField<Long> timeouts)
Sets Builder.timeouts to an arbitrary JSON value.
You should usually call Builder.timeouts with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MessageProvidersType.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageProvidersType.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageProvidersType.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageProvidersType.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageProvidersType.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageProvidersType build()
Returns an immutable instance of MessageProvidersType.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-