Class TenantUpdateParams.Builder
-
- All Implemented Interfaces:
public final class TenantUpdateParams.BuilderA builder for TenantUpdateParams.
-
-
Method Summary
-
-
Method Detail
-
tenantId
final TenantUpdateParams.Builder tenantId(String tenantId)
-
tenantId
final TenantUpdateParams.Builder tenantId(Optional<String> tenantId)
Alias for calling Builder.tenantId with
tenantId.orElse(null).
-
body
final TenantUpdateParams.Builder body(TenantUpdateParams.Body body)
Sets the entire request body.
This is generally only useful if you are already constructing the body separately. Otherwise, it's more convenient to use the top-level setters instead:
-
name
final TenantUpdateParams.Builder name(String name)
Name of the tenant.
-
name
final TenantUpdateParams.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.Builder brandId(String brandId)
Brand to be used for the account when one is not specified by the send call.
-
brandId
final TenantUpdateParams.Builder brandId(Optional<String> brandId)
Alias for calling Builder.brandId with
brandId.orElse(null).
-
brandId
final TenantUpdateParams.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.Builder defaultPreferences(DefaultPreferences defaultPreferences)
Defines the preferences used for the tenant when the user hasn't specified their own.
-
defaultPreferences
final TenantUpdateParams.Builder defaultPreferences(Optional<DefaultPreferences> defaultPreferences)
Alias for calling Builder.defaultPreferences with
defaultPreferences.orElse(null).
-
defaultPreferences
final TenantUpdateParams.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.Builder parentTenantId(String parentTenantId)
Tenant's parent id (if any).
-
parentTenantId
final TenantUpdateParams.Builder parentTenantId(Optional<String> parentTenantId)
Alias for calling Builder.parentTenantId with
parentTenantId.orElse(null).
-
parentTenantId
final TenantUpdateParams.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.Builder properties(TenantUpdateParams.Properties properties)
Arbitrary properties accessible to a template.
-
properties
final TenantUpdateParams.Builder properties(Optional<TenantUpdateParams.Properties> properties)
Alias for calling Builder.properties with
properties.orElse(null).
-
properties
final TenantUpdateParams.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.Builder userProfile(TenantUpdateParams.UserProfile userProfile)
A user profile object merged with user profile on send.
-
userProfile
final TenantUpdateParams.Builder userProfile(Optional<TenantUpdateParams.UserProfile> userProfile)
Alias for calling Builder.userProfile with
userProfile.orElse(null).
-
userProfile
final TenantUpdateParams.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.
-
additionalBodyProperties
final TenantUpdateParams.Builder additionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
putAdditionalBodyProperty
final TenantUpdateParams.Builder putAdditionalBodyProperty(String key, JsonValue value)
-
putAllAdditionalBodyProperties
final TenantUpdateParams.Builder putAllAdditionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
removeAdditionalBodyProperty
final TenantUpdateParams.Builder removeAdditionalBodyProperty(String key)
-
removeAllAdditionalBodyProperties
final TenantUpdateParams.Builder removeAllAdditionalBodyProperties(Set<String> keys)
-
additionalHeaders
final TenantUpdateParams.Builder additionalHeaders(Headers additionalHeaders)
-
additionalHeaders
final TenantUpdateParams.Builder additionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
putAdditionalHeader
final TenantUpdateParams.Builder putAdditionalHeader(String name, String value)
-
putAdditionalHeaders
final TenantUpdateParams.Builder putAdditionalHeaders(String name, Iterable<String> values)
-
putAllAdditionalHeaders
final TenantUpdateParams.Builder putAllAdditionalHeaders(Headers additionalHeaders)
-
putAllAdditionalHeaders
final TenantUpdateParams.Builder putAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
replaceAdditionalHeaders
final TenantUpdateParams.Builder replaceAdditionalHeaders(String name, String value)
-
replaceAdditionalHeaders
final TenantUpdateParams.Builder replaceAdditionalHeaders(String name, Iterable<String> values)
-
replaceAllAdditionalHeaders
final TenantUpdateParams.Builder replaceAllAdditionalHeaders(Headers additionalHeaders)
-
replaceAllAdditionalHeaders
final TenantUpdateParams.Builder replaceAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
removeAdditionalHeaders
final TenantUpdateParams.Builder removeAdditionalHeaders(String name)
-
removeAllAdditionalHeaders
final TenantUpdateParams.Builder removeAllAdditionalHeaders(Set<String> names)
-
additionalQueryParams
final TenantUpdateParams.Builder additionalQueryParams(QueryParams additionalQueryParams)
-
additionalQueryParams
final TenantUpdateParams.Builder additionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
putAdditionalQueryParam
final TenantUpdateParams.Builder putAdditionalQueryParam(String key, String value)
-
putAdditionalQueryParams
final TenantUpdateParams.Builder putAdditionalQueryParams(String key, Iterable<String> values)
-
putAllAdditionalQueryParams
final TenantUpdateParams.Builder putAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
putAllAdditionalQueryParams
final TenantUpdateParams.Builder putAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
replaceAdditionalQueryParams
final TenantUpdateParams.Builder replaceAdditionalQueryParams(String key, String value)
-
replaceAdditionalQueryParams
final TenantUpdateParams.Builder replaceAdditionalQueryParams(String key, Iterable<String> values)
-
replaceAllAdditionalQueryParams
final TenantUpdateParams.Builder replaceAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
replaceAllAdditionalQueryParams
final TenantUpdateParams.Builder replaceAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
removeAdditionalQueryParams
final TenantUpdateParams.Builder removeAdditionalQueryParams(String key)
-
removeAllAdditionalQueryParams
final TenantUpdateParams.Builder removeAllAdditionalQueryParams(Set<String> keys)
-
build
final TenantUpdateParams build()
Returns an immutable instance of TenantUpdateParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name()
-
-
-
-