public static interface User.Builder extends CopyableBuilder<User.Builder,User>
Modifier and Type | Method and Description |
---|---|
User.Builder |
createdTimestamp(Instant createdTimestamp)
The time when the user was created.
|
User.Builder |
emailAddress(String emailAddress)
The email address of the user.
|
User.Builder |
givenName(String givenName)
The given name of the user.
|
User.Builder |
id(String id)
The ID of the user.
|
User.Builder |
locale(LocaleType locale)
The locale of the user.
|
User.Builder |
locale(String locale)
The locale of the user.
|
User.Builder |
modifiedTimestamp(Instant modifiedTimestamp)
The time when the user was modified.
|
User.Builder |
organizationId(String organizationId)
The ID of the organization.
|
User.Builder |
recycleBinFolderId(String recycleBinFolderId)
The ID of the recycle bin folder.
|
User.Builder |
rootFolderId(String rootFolderId)
The ID of the root folder.
|
User.Builder |
status(String status)
The status of the user.
|
User.Builder |
status(UserStatusType status)
The status of the user.
|
default User.Builder |
storage(Consumer<UserStorageMetadata.Builder> storage)
The storage for the user.
|
User.Builder |
storage(UserStorageMetadata storage)
The storage for the user.
|
User.Builder |
surname(String surname)
The surname of the user.
|
User.Builder |
timeZoneId(String timeZoneId)
The time zone ID of the user.
|
User.Builder |
type(String type)
The type of user.
|
User.Builder |
type(UserType type)
The type of user.
|
User.Builder |
username(String username)
The login name of the user.
|
copy
applyMutation, build
User.Builder id(String id)
The ID of the user.
id
- The ID of the user.User.Builder username(String username)
The login name of the user.
username
- The login name of the user.User.Builder emailAddress(String emailAddress)
The email address of the user.
emailAddress
- The email address of the user.User.Builder givenName(String givenName)
The given name of the user.
givenName
- The given name of the user.User.Builder surname(String surname)
The surname of the user.
surname
- The surname of the user.User.Builder organizationId(String organizationId)
The ID of the organization.
organizationId
- The ID of the organization.User.Builder rootFolderId(String rootFolderId)
The ID of the root folder.
rootFolderId
- The ID of the root folder.User.Builder recycleBinFolderId(String recycleBinFolderId)
The ID of the recycle bin folder.
recycleBinFolderId
- The ID of the recycle bin folder.User.Builder status(String status)
The status of the user.
status
- The status of the user.UserStatusType
,
UserStatusType
User.Builder status(UserStatusType status)
The status of the user.
status
- The status of the user.UserStatusType
,
UserStatusType
User.Builder type(String type)
The type of user.
User.Builder type(UserType type)
The type of user.
User.Builder createdTimestamp(Instant createdTimestamp)
The time when the user was created.
createdTimestamp
- The time when the user was created.User.Builder modifiedTimestamp(Instant modifiedTimestamp)
The time when the user was modified.
modifiedTimestamp
- The time when the user was modified.User.Builder timeZoneId(String timeZoneId)
The time zone ID of the user.
timeZoneId
- The time zone ID of the user.User.Builder locale(String locale)
The locale of the user.
locale
- The locale of the user.LocaleType
,
LocaleType
User.Builder locale(LocaleType locale)
The locale of the user.
locale
- The locale of the user.LocaleType
,
LocaleType
User.Builder storage(UserStorageMetadata storage)
The storage for the user.
storage
- The storage for the user.default User.Builder storage(Consumer<UserStorageMetadata.Builder> storage)
The storage for the user.
This is a convenience that creates an instance of theUserStorageMetadata.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)
.storage
- a consumer that will call methods on UserStorageMetadata.Builder
storage(UserStorageMetadata)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.