Class OrganizationUser.Builder
-
- All Implemented Interfaces:
public final class OrganizationUser.BuilderA builder for OrganizationUser.
-
-
Method Summary
-
-
Method Detail
-
id
final OrganizationUser.Builder id(String id)
The identifier, which can be referenced in API endpoints
-
id
final OrganizationUser.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.
-
addedAt
final OrganizationUser.Builder addedAt(Long addedAt)
The Unix timestamp (in seconds) of when the user was added.
-
addedAt
final OrganizationUser.Builder addedAt(JsonField<Long> addedAt)
Sets Builder.addedAt to an arbitrary JSON value.
You should usually call Builder.addedAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final OrganizationUser.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("organization.user")This method is primarily for setting the field to an undocumented or not yet supported value.
-
apiKeyLastUsedAt
final OrganizationUser.Builder apiKeyLastUsedAt(Long apiKeyLastUsedAt)
The Unix timestamp (in seconds) of the user's last API key usage.
-
apiKeyLastUsedAt
final OrganizationUser.Builder apiKeyLastUsedAt(Long apiKeyLastUsedAt)
Alias for Builder.apiKeyLastUsedAt.
This unboxed primitive overload exists for backwards compatibility.
-
apiKeyLastUsedAt
final OrganizationUser.Builder apiKeyLastUsedAt(Optional<Long> apiKeyLastUsedAt)
Alias for calling Builder.apiKeyLastUsedAt with
apiKeyLastUsedAt.orElse(null).
-
apiKeyLastUsedAt
final OrganizationUser.Builder apiKeyLastUsedAt(JsonField<Long> apiKeyLastUsedAt)
Sets Builder.apiKeyLastUsedAt to an arbitrary JSON value.
You should usually call Builder.apiKeyLastUsedAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final OrganizationUser.Builder created(Long created)
The Unix timestamp (in seconds) of when the user was created.
-
created
final OrganizationUser.Builder created(JsonField<Long> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
developerPersona
final OrganizationUser.Builder developerPersona(String developerPersona)
The developer persona metadata for the user.
-
developerPersona
final OrganizationUser.Builder developerPersona(Optional<String> developerPersona)
Alias for calling Builder.developerPersona with
developerPersona.orElse(null).
-
developerPersona
final OrganizationUser.Builder developerPersona(JsonField<String> developerPersona)
Sets Builder.developerPersona to an arbitrary JSON value.
You should usually call Builder.developerPersona 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 OrganizationUser.Builder email(String email)
The email address of the user
-
email
final OrganizationUser.Builder email(Optional<String> email)
Alias for calling Builder.email with
email.orElse(null).
-
email
final OrganizationUser.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.
-
isDefault
final OrganizationUser.Builder isDefault(Boolean isDefault)
Whether this is the organization's default user.
-
isDefault
final OrganizationUser.Builder isDefault(JsonField<Boolean> isDefault)
Sets Builder.isDefault to an arbitrary JSON value.
You should usually call Builder.isDefault with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isScaleTierAuthorizedPurchaser
final OrganizationUser.Builder isScaleTierAuthorizedPurchaser(Boolean isScaleTierAuthorizedPurchaser)
Whether the user is an authorized purchaser for Scale Tier.
-
isScaleTierAuthorizedPurchaser
final OrganizationUser.Builder isScaleTierAuthorizedPurchaser(Boolean isScaleTierAuthorizedPurchaser)
Alias for Builder.isScaleTierAuthorizedPurchaser.
This unboxed primitive overload exists for backwards compatibility.
-
isScaleTierAuthorizedPurchaser
final OrganizationUser.Builder isScaleTierAuthorizedPurchaser(Optional<Boolean> isScaleTierAuthorizedPurchaser)
Alias for calling Builder.isScaleTierAuthorizedPurchaser with
isScaleTierAuthorizedPurchaser.orElse(null).
-
isScaleTierAuthorizedPurchaser
final OrganizationUser.Builder isScaleTierAuthorizedPurchaser(JsonField<Boolean> isScaleTierAuthorizedPurchaser)
Sets Builder.isScaleTierAuthorizedPurchaser to an arbitrary JSON value.
You should usually call Builder.isScaleTierAuthorizedPurchaser with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isScimManaged
final OrganizationUser.Builder isScimManaged(Boolean isScimManaged)
Whether the user is managed through SCIM.
-
isScimManaged
final OrganizationUser.Builder isScimManaged(JsonField<Boolean> isScimManaged)
Sets Builder.isScimManaged to an arbitrary JSON value.
You should usually call Builder.isScimManaged with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isServiceAccount
final OrganizationUser.Builder isServiceAccount(Boolean isServiceAccount)
Whether the user is a service account.
-
isServiceAccount
final OrganizationUser.Builder isServiceAccount(JsonField<Boolean> isServiceAccount)
Sets Builder.isServiceAccount to an arbitrary JSON value.
You should usually call Builder.isServiceAccount with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final OrganizationUser.Builder name(String name)
The name of the user
-
name
final OrganizationUser.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final OrganizationUser.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.
-
projects
final OrganizationUser.Builder projects(OrganizationUser.Projects projects)
Projects associated with the user, if included.
-
projects
final OrganizationUser.Builder projects(Optional<OrganizationUser.Projects> projects)
Alias for calling Builder.projects with
projects.orElse(null).
-
projects
final OrganizationUser.Builder projects(JsonField<OrganizationUser.Projects> projects)
Sets Builder.projects to an arbitrary JSON value.
You should usually call Builder.projects with a well-typed Projects value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
role
final OrganizationUser.Builder role(String role)
ownerorreader
-
role
final OrganizationUser.Builder role(Optional<String> role)
Alias for calling Builder.role with
role.orElse(null).
-
role
final OrganizationUser.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.
-
technicalLevel
final OrganizationUser.Builder technicalLevel(String technicalLevel)
The technical level metadata for the user.
-
technicalLevel
final OrganizationUser.Builder technicalLevel(Optional<String> technicalLevel)
Alias for calling Builder.technicalLevel with
technicalLevel.orElse(null).
-
technicalLevel
final OrganizationUser.Builder technicalLevel(JsonField<String> technicalLevel)
Sets Builder.technicalLevel to an arbitrary JSON value.
You should usually call Builder.technicalLevel with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
user
final OrganizationUser.Builder user(OrganizationUser.User user)
Nested user details.
-
user
final OrganizationUser.Builder user(JsonField<OrganizationUser.User> user)
Sets Builder.user to an arbitrary JSON value.
You should usually call Builder.user with a well-typed User value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final OrganizationUser.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final OrganizationUser.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final OrganizationUser.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final OrganizationUser.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final OrganizationUser.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final OrganizationUser build()
Returns an immutable instance of OrganizationUser.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .addedAt()
-
-
-
-