Interface User.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<User.Builder,
,User> SdkBuilder<User.Builder,
,User> SdkPojo
- Enclosing class:
User
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTimestamp
(Instant createdTimestamp) The time when the user was created.emailAddress
(String emailAddress) The email address of the user.The given name of the user.The ID of the user.The locale of the user.locale
(LocaleType locale) The locale of the user.modifiedTimestamp
(Instant modifiedTimestamp) The time when the user was modified.organizationId
(String organizationId) The ID of the organization.recycleBinFolderId
(String recycleBinFolderId) The ID of the recycle bin folder.rootFolderId
(String rootFolderId) The ID of the root folder.The status of the user.status
(UserStatusType status) The status of the user.default User.Builder
storage
(Consumer<UserStorageMetadata.Builder> storage) The storage for the user.storage
(UserStorageMetadata storage) The storage for the user.The surname of the user.timeZoneId
(String timeZoneId) The time zone ID of the user.The type of user.The type of user.The login name of the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 theUserStorageMetadata.Builder
avoiding the need to create one manually viaUserStorageMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostorage(UserStorageMetadata)
.- Parameters:
storage
- a consumer that will call methods onUserStorageMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-