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)The unique identifier for the tenant. final Tenant.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Tenant.Builder_typename(String _typename)The typename of the schema. final Tenant.Builder_typename(JsonField<String> _typename)Sets Builder._typename to an arbitrary JSON value. final Tenant.Buildername(String name)An optional name for the tenant. final Tenant.Buildername(Optional<String> name)Alias for calling Builder.name with name.orElse(null).final Tenant.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final Tenant.Buildersettings(Tenant.Settings settings)The settings for the tenant. final Tenant.Buildersettings(Optional<Tenant.Settings> settings)Alias for calling Builder.settings with settings.orElse(null).final Tenant.Buildersettings(JsonField<Tenant.Settings> settings)Sets Builder.settings 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)
The unique identifier for 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.
-
_typename
final Tenant.Builder _typename(String _typename)
The typename of the schema.
-
_typename
final Tenant.Builder _typename(JsonField<String> _typename)
Sets Builder._typename to an arbitrary JSON value.
You should usually call Builder._typename 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)
An optional name for the tenant.
-
name
final Tenant.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
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.
-
settings
final Tenant.Builder settings(Tenant.Settings settings)
The settings for the tenant. Includes branding and preference set.
-
settings
final Tenant.Builder settings(Optional<Tenant.Settings> settings)
Alias for calling Builder.settings with
settings.orElse(null).
-
settings
final Tenant.Builder settings(JsonField<Tenant.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 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)
-
-
-
-