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 default User.Builderaccount(Consumer<Account.Builder> account)Contains information about the Amazon Web Services account.User.Builderaccount(Account account)Contains information about the Amazon Web Services account.User.BuildercredentialUid(String credentialUid)The credentials of the user ID.User.Buildername(String name)The name of the user.User.Buildertype(String type)The type of the user.User.Builderuid(String uid)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 Detail
-
name
User.Builder name(String 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
User.Builder uid(String 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
User.Builder type(String 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
User.Builder credentialUid(String 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
User.Builder account(Account 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
default User.Builder account(Consumer<Account.Builder> 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:
account(Account)
-
-