Class TenantUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class TenantUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
name
final TenantUpdateParams.Body.Builder name(String name)
Name of the tenant.
-
name
final TenantUpdateParams.Body.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 TenantUpdateParams.Body.Builder brandId(String brandId)
Brand to be used for the account when one is not specified by the send call.
-
brandId
final TenantUpdateParams.Body.Builder brandId(Optional<String> brandId)
Alias for calling Builder.brandId with
brandId.orElse(null).
-
brandId
final TenantUpdateParams.Body.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 TenantUpdateParams.Body.Builder defaultPreferences(DefaultPreferences defaultPreferences)
Defines the preferences used for the tenant when the user hasn't specified their own.
-
defaultPreferences
final TenantUpdateParams.Body.Builder defaultPreferences(Optional<DefaultPreferences> defaultPreferences)
Alias for calling Builder.defaultPreferences with
defaultPreferences.orElse(null).
-
defaultPreferences
final TenantUpdateParams.Body.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 TenantUpdateParams.Body.Builder parentTenantId(String parentTenantId)
Tenant's parent id (if any).
-
parentTenantId
final TenantUpdateParams.Body.Builder parentTenantId(Optional<String> parentTenantId)
Alias for calling Builder.parentTenantId with
parentTenantId.orElse(null).
-
parentTenantId
final TenantUpdateParams.Body.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 TenantUpdateParams.Body.Builder properties(TenantUpdateParams.Properties properties)
Arbitrary properties accessible to a template.
-
properties
final TenantUpdateParams.Body.Builder properties(Optional<TenantUpdateParams.Properties> properties)
Alias for calling Builder.properties with
properties.orElse(null).
-
properties
final TenantUpdateParams.Body.Builder properties(JsonField<TenantUpdateParams.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 TenantUpdateParams.Body.Builder userProfile(TenantUpdateParams.UserProfile userProfile)
A user profile object merged with user profile on send.
-
userProfile
final TenantUpdateParams.Body.Builder userProfile(Optional<TenantUpdateParams.UserProfile> userProfile)
Alias for calling Builder.userProfile with
userProfile.orElse(null).
-
userProfile
final TenantUpdateParams.Body.Builder userProfile(JsonField<TenantUpdateParams.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 TenantUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TenantUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TenantUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TenantUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TenantUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TenantUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name()
-
-
-
-