Class TenantRequest.Builder
-
- All Implemented Interfaces:
public final class TenantRequest.BuilderA builder for TenantRequest.
-
-
Method Summary
-
-
Method Detail
-
id
final TenantRequest.Builder id(String id)
The unique identifier for the tenant.
-
id
final TenantRequest.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.
-
channelData
final TenantRequest.Builder channelData(InlineChannelDataRequest channelData)
A request to set channel data for a type of channel inline.
-
channelData
final TenantRequest.Builder channelData(Optional<InlineChannelDataRequest> channelData)
Alias for calling Builder.channelData with
channelData.orElse(null).
-
channelData
final TenantRequest.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 TenantRequest.Builder preferences(InlinePreferenceSetRequest preferences)
Inline set preferences for a recipient, where the key is the preference set id.
-
preferences
final TenantRequest.Builder preferences(Optional<InlinePreferenceSetRequest> preferences)
Alias for calling Builder.preferences with
preferences.orElse(null).
-
preferences
final TenantRequest.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 TenantRequest.Builder settings(TenantRequest.Settings settings)
The settings for the tenant. Includes branding and preference set.
-
settings
final TenantRequest.Builder settings(JsonField<TenantRequest.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 TenantRequest.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TenantRequest.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TenantRequest.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TenantRequest.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TenantRequest.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TenantRequest build()
Returns an immutable instance of TenantRequest.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-