Class TenantAssociation.Builder
-
- All Implemented Interfaces:
public final class TenantAssociation.BuilderA builder for TenantAssociation.
-
-
Method Summary
-
-
Method Detail
-
tenantId
final TenantAssociation.Builder tenantId(String tenantId)
Tenant ID for the association between tenant and user
-
tenantId
final TenantAssociation.Builder tenantId(JsonField<String> tenantId)
Sets Builder.tenantId to an arbitrary JSON value.
You should usually call Builder.tenantId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
profile
final TenantAssociation.Builder profile(TenantAssociation.Profile profile)
Additional metadata to be applied to a user profile when used in a tenant context
-
profile
final TenantAssociation.Builder profile(Optional<TenantAssociation.Profile> profile)
Alias for calling Builder.profile with
profile.orElse(null).
-
profile
final TenantAssociation.Builder profile(JsonField<TenantAssociation.Profile> profile)
Sets Builder.profile to an arbitrary JSON value.
You should usually call Builder.profile with a well-typed Profile value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final TenantAssociation.Builder type(TenantAssociation.Type type)
-
type
final TenantAssociation.Builder type(Optional<TenantAssociation.Type> type)
Alias for calling Builder.type with
type.orElse(null).
-
type
final TenantAssociation.Builder type(JsonField<TenantAssociation.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final TenantAssociation.Builder userId(String userId)
User ID for the association between tenant and user
-
userId
final TenantAssociation.Builder userId(Optional<String> userId)
Alias for calling Builder.userId with
userId.orElse(null).
-
userId
final TenantAssociation.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final TenantAssociation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TenantAssociation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TenantAssociation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TenantAssociation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TenantAssociation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TenantAssociation build()
Returns an immutable instance of TenantAssociation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.tenantId()
-
-
-
-