Class TenantSetParams.Body.Builder
-
- All Implemented Interfaces:
public final class TenantSetParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
channelData
final TenantSetParams.Body.Builder channelData(InlineChannelDataRequest channelData)
A request to set channel data for a type of channel inline.
-
channelData
final TenantSetParams.Body.Builder channelData(Optional<InlineChannelDataRequest> channelData)
Alias for calling Builder.channelData with
channelData.orElse(null).
-
channelData
final TenantSetParams.Body.Builder channelData(JsonField<InlineChannelDataRequest> channelData)
Sets Builder.channelData to an arbitrary JSON value.
You should usually call Builder.channelData with a well-typed InlineChannelDataRequest value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
preferences
final TenantSetParams.Body.Builder preferences(InlinePreferenceSetRequest preferences)
Inline set preferences for a recipient, where the key is the preference set id.
-
preferences
final TenantSetParams.Body.Builder preferences(Optional<InlinePreferenceSetRequest> preferences)
Alias for calling Builder.preferences with
preferences.orElse(null).
-
preferences
final TenantSetParams.Body.Builder preferences(JsonField<InlinePreferenceSetRequest> preferences)
Sets Builder.preferences to an arbitrary JSON value.
You should usually call Builder.preferences with a well-typed InlinePreferenceSetRequest value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
settings
final TenantSetParams.Body.Builder settings(TenantSetParams.Settings settings)
The settings for the tenant. Includes branding and preference set.
-
settings
final TenantSetParams.Body.Builder settings(JsonField<TenantSetParams.Settings> settings)
Sets Builder.settings to an arbitrary JSON value.
You should usually call Builder.settings with a well-typed Settings value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final TenantSetParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TenantSetParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TenantSetParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TenantSetParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TenantSetParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TenantSetParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-