Interface User.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<User.Builder,
,User> SdkBuilder<User.Builder,
,User> SdkPojo
- Enclosing class:
User
@Mutable
@NotThreadSafe
public static interface User.Builder
extends SdkPojo, CopyableBuilder<User.Builder,User>
-
Method Summary
Modifier and TypeMethodDescriptiondefault User.Builder
account
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaAccount.builder()
.When the
Consumer
completes,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:
-