Class UserCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class UserCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
role
final UserCreateParams.Body.Builder role(String role)
ownerormember
-
role
final UserCreateParams.Body.Builder role(JsonField<String> role)
Sets Builder.role to an arbitrary JSON value.
You should usually call Builder.role with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
email
final UserCreateParams.Body.Builder email(String email)
Email of the user to add.
-
email
final UserCreateParams.Body.Builder email(Optional<String> email)
Alias for calling Builder.email with
email.orElse(null).
-
email
final UserCreateParams.Body.Builder email(JsonField<String> email)
Sets Builder.email to an arbitrary JSON value.
You should usually call Builder.email with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final UserCreateParams.Body.Builder userId(String userId)
The ID of the user.
-
userId
final UserCreateParams.Body.Builder userId(Optional<String> userId)
Alias for calling Builder.userId with
userId.orElse(null).
-
userId
final UserCreateParams.Body.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 UserCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UserCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UserCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UserCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UserCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UserCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.role()
-
-
-
-