Interface User.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<User.Builder,,User> SdkBuilder<User.Builder,,User> SdkPojo
- Enclosing class:
User
-
Method Summary
Modifier and TypeMethodDescriptiondefault User.Builderaccount(Consumer<Account.Builder> account) Contains information about the Amazon Web Services account.Contains information about the Amazon Web Services account.credentialUid(String credentialUid) The credentials of the user ID.The name of the user.The type of the user.The unique identifier of the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the user.
- Parameters:
name- The name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uid
The unique identifier of the user.
- Parameters:
uid- The unique identifier of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the user.
- Parameters:
type- The type of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialUid
The credentials of the user ID.
- Parameters:
credentialUid- The credentials of the user ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
Contains information about the Amazon Web Services account.
- Parameters:
account- Contains information about the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
Contains information about the Amazon Web Services account.
This is a convenience method that creates an instance of theAccount.Builderavoiding the need to create one manually viaAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccount(Account).- Parameters:
account- a consumer that will call methods onAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-