Interface User.Builder

All Superinterfaces:
Buildable, CopyableBuilder<User.Builder,User>, SdkBuilder<User.Builder,User>, SdkPojo
Enclosing class:
User

public static interface User.Builder extends SdkPojo, CopyableBuilder<User.Builder,User>
  • Method Details

    • id

      The ID of the user.

      Parameters:
      id - The ID of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • username

      User.Builder username(String username)

      The login name of the user.

      Parameters:
      username - The login name of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • emailAddress

      User.Builder emailAddress(String emailAddress)

      The email address of the user.

      Parameters:
      emailAddress - The email address of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • givenName

      User.Builder givenName(String givenName)

      The given name of the user.

      Parameters:
      givenName - The given name of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • surname

      User.Builder surname(String surname)

      The surname of the user.

      Parameters:
      surname - The surname of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationId

      User.Builder organizationId(String organizationId)

      The ID of the organization.

      Parameters:
      organizationId - The ID of the organization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rootFolderId

      User.Builder rootFolderId(String rootFolderId)

      The ID of the root folder.

      Parameters:
      rootFolderId - The ID of the root folder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recycleBinFolderId

      User.Builder recycleBinFolderId(String recycleBinFolderId)

      The ID of the recycle bin folder.

      Parameters:
      recycleBinFolderId - The ID of the recycle bin folder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      User.Builder status(String status)

      The status of the user.

      Parameters:
      status - The status of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      User.Builder status(UserStatusType status)

      The status of the user.

      Parameters:
      status - The status of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      User.Builder type(String type)

      The type of user.

      Parameters:
      type - The type of user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      User.Builder type(UserType type)

      The type of user.

      Parameters:
      type - The type of user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdTimestamp

      User.Builder createdTimestamp(Instant createdTimestamp)

      The time when the user was created.

      Parameters:
      createdTimestamp - The time when the user was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modifiedTimestamp

      User.Builder modifiedTimestamp(Instant modifiedTimestamp)

      The time when the user was modified.

      Parameters:
      modifiedTimestamp - The time when the user was modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeZoneId

      User.Builder timeZoneId(String timeZoneId)

      The time zone ID of the user.

      Parameters:
      timeZoneId - The time zone ID of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • locale

      User.Builder locale(String locale)

      The locale of the user.

      Parameters:
      locale - The locale of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • locale

      User.Builder locale(LocaleType locale)

      The locale of the user.

      Parameters:
      locale - The locale of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • storage

      The storage for the user.

      Parameters:
      storage - The storage for the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storage

      The storage for the user.

      This is a convenience method that creates an instance of the UserStorageMetadata.Builder avoiding the need to create one manually via UserStorageMetadata.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to storage(UserStorageMetadata).

      Parameters:
      storage - a consumer that will call methods on UserStorageMetadata.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: