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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description User.BuildercreatedTimestamp(Instant createdTimestamp)The time when the user was created.User.BuilderemailAddress(String emailAddress)The email address of the user.User.BuildergivenName(String givenName)The given name of the user.User.Builderid(String id)The ID of the user.User.Builderlocale(String locale)The locale of the user.User.Builderlocale(LocaleType locale)The locale of the user.User.BuildermodifiedTimestamp(Instant modifiedTimestamp)The time when the user was modified.User.BuilderorganizationId(String organizationId)The ID of the organization.User.BuilderrecycleBinFolderId(String recycleBinFolderId)The ID of the recycle bin folder.User.BuilderrootFolderId(String rootFolderId)The ID of the root folder.User.Builderstatus(String status)The status of the user.User.Builderstatus(UserStatusType status)The status of the user.default User.Builderstorage(Consumer<UserStorageMetadata.Builder> storage)The storage for the user.User.Builderstorage(UserStorageMetadata storage)The storage for the user.User.Buildersurname(String surname)The surname of the user.User.BuildertimeZoneId(String timeZoneId)The time zone ID of the user.User.Buildertype(String type)The type of user.User.Buildertype(UserType type)The type of user.User.Builderusername(String username)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 Detail
-
id
User.Builder id(String 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:
UserStatusType,UserStatusType
-
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:
UserStatusType,UserStatusType
-
type
User.Builder type(String type)
The type of user.
-
type
User.Builder type(UserType type)
The type of user.
-
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:
LocaleType,LocaleType
-
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:
LocaleType,LocaleType
-
storage
User.Builder storage(UserStorageMetadata 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
default User.Builder storage(Consumer<UserStorageMetadata.Builder> storage)
The storage for the user.
This is a convenience method that creates an instance of theUserStorageMetadata.Builderavoiding the need to create one manually viaUserStorageMetadata.builder().When the
Consumercompletes,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:
storage(UserStorageMetadata)
-
-