Class Tenant.Builder
-
- All Implemented Interfaces:
public final class Tenant.BuilderA builder for Tenant.
-
-
Method Summary
Modifier and Type Method Description final Tenant.Builderid(String id)Id of the tenant. final Tenant.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Tenant.Buildername(String name)Name of the tenant. final Tenant.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final Tenant.BuilderbrandId(String brandId)Brand to be used for the account when one is not specified by the send call. final Tenant.BuilderbrandId(Optional<String> brandId)Alias for calling Builder.brandId with brandId.orElse(null).final Tenant.BuilderbrandId(JsonField<String> brandId)Sets Builder.brandId to an arbitrary JSON value. final Tenant.BuilderdefaultPreferences(DefaultPreferences defaultPreferences)Defines the preferences used for the account when the user hasn't specified their own. final Tenant.BuilderdefaultPreferences(Optional<DefaultPreferences> defaultPreferences)Alias for calling Builder.defaultPreferences with defaultPreferences.orElse(null).final Tenant.BuilderdefaultPreferences(JsonField<DefaultPreferences> defaultPreferences)Sets Builder.defaultPreferences to an arbitrary JSON value. final Tenant.BuilderparentTenantId(String parentTenantId)Tenant's parent id (if any). final Tenant.BuilderparentTenantId(Optional<String> parentTenantId)Alias for calling Builder.parentTenantId with parentTenantId.orElse(null).final Tenant.BuilderparentTenantId(JsonField<String> parentTenantId)Sets Builder.parentTenantId to an arbitrary JSON value. final Tenant.Builderproperties(Tenant.Properties properties)Arbitrary properties accessible to a template. final Tenant.Builderproperties(Optional<Tenant.Properties> properties)Alias for calling Builder.properties with properties.orElse(null).final Tenant.Builderproperties(JsonField<Tenant.Properties> properties)Sets Builder.properties to an arbitrary JSON value. final Tenant.BuilderuserProfile(Tenant.UserProfile userProfile)A user profile object merged with user profile on send. final Tenant.BuilderuserProfile(Optional<Tenant.UserProfile> userProfile)Alias for calling Builder.userProfile with userProfile.orElse(null).final Tenant.BuilderuserProfile(JsonField<Tenant.UserProfile> userProfile)Sets Builder.userProfile to an arbitrary JSON value. final Tenant.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Tenant.BuilderputAdditionalProperty(String key, JsonValue value)final Tenant.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Tenant.BuilderremoveAdditionalProperty(String key)final Tenant.BuilderremoveAllAdditionalProperties(Set<String> keys)final Tenantbuild()Returns an immutable instance of Tenant. -
-
Method Detail
-
id
final Tenant.Builder id(String id)
Id of the tenant.
-
id
final Tenant.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.
-
name
final Tenant.Builder name(String name)
Name of the tenant.
-
name
final Tenant.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
brandId
final Tenant.Builder brandId(String brandId)
Brand to be used for the account when one is not specified by the send call.
-
brandId
final Tenant.Builder brandId(Optional<String> brandId)
Alias for calling Builder.brandId with
brandId.orElse(null).
-
brandId
final Tenant.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.
-
defaultPreferences
final Tenant.Builder defaultPreferences(DefaultPreferences defaultPreferences)
Defines the preferences used for the account when the user hasn't specified their own.
-
defaultPreferences
final Tenant.Builder defaultPreferences(Optional<DefaultPreferences> defaultPreferences)
Alias for calling Builder.defaultPreferences with
defaultPreferences.orElse(null).
-
defaultPreferences
final Tenant.Builder defaultPreferences(JsonField<DefaultPreferences> defaultPreferences)
Sets Builder.defaultPreferences to an arbitrary JSON value.
You should usually call Builder.defaultPreferences with a well-typed DefaultPreferences value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
parentTenantId
final Tenant.Builder parentTenantId(String parentTenantId)
Tenant's parent id (if any).
-
parentTenantId
final Tenant.Builder parentTenantId(Optional<String> parentTenantId)
Alias for calling Builder.parentTenantId with
parentTenantId.orElse(null).
-
parentTenantId
final Tenant.Builder parentTenantId(JsonField<String> parentTenantId)
Sets Builder.parentTenantId to an arbitrary JSON value.
You should usually call Builder.parentTenantId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
properties
final Tenant.Builder properties(Tenant.Properties properties)
Arbitrary properties accessible to a template.
-
properties
final Tenant.Builder properties(Optional<Tenant.Properties> properties)
Alias for calling Builder.properties with
properties.orElse(null).
-
properties
final Tenant.Builder properties(JsonField<Tenant.Properties> properties)
Sets Builder.properties to an arbitrary JSON value.
You should usually call Builder.properties with a well-typed Properties value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userProfile
final Tenant.Builder userProfile(Tenant.UserProfile userProfile)
A user profile object merged with user profile on send.
-
userProfile
final Tenant.Builder userProfile(Optional<Tenant.UserProfile> userProfile)
Alias for calling Builder.userProfile with
userProfile.orElse(null).
-
userProfile
final Tenant.Builder userProfile(JsonField<Tenant.UserProfile> userProfile)
Sets Builder.userProfile to an arbitrary JSON value.
You should usually call Builder.userProfile with a well-typed UserProfile value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Tenant.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Tenant.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Tenant.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Tenant.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Tenant.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-