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.BuilderaccessString(String accessString)Access permissions string used for this user.User.BuilderaclNames(String... aclNames)The names of the Access Control Lists to which the user belongsUser.BuilderaclNames(Collection<String> aclNames)The names of the Access Control Lists to which the user belongsUser.Builderarn(String arn)The Amazon Resource Name (ARN) of the user.default User.Builderauthentication(Consumer<Authentication.Builder> authentication)Denotes whether the user requires a password to authenticate.User.Builderauthentication(Authentication authentication)Denotes whether the user requires a password to authenticate.User.BuilderminimumEngineVersion(String minimumEngineVersion)The minimum engine version supported for the userUser.Buildername(String name)The name of the userUser.Builderstatus(String status)Indicates the user status.-
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
-
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.
-
status
User.Builder status(String status)
Indicates the user status. Can be "active", "modifying" or "deleting".
- Parameters:
status- Indicates the user status. Can be "active", "modifying" or "deleting".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessString
User.Builder accessString(String accessString)
Access permissions string used for this user.
- Parameters:
accessString- Access permissions string used for this user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aclNames
User.Builder aclNames(Collection<String> aclNames)
The names of the Access Control Lists to which the user belongs
- Parameters:
aclNames- The names of the Access Control Lists to which the user belongs- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aclNames
User.Builder aclNames(String... aclNames)
The names of the Access Control Lists to which the user belongs
- Parameters:
aclNames- The names of the Access Control Lists to which the user belongs- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minimumEngineVersion
User.Builder minimumEngineVersion(String minimumEngineVersion)
The minimum engine version supported for the user
- Parameters:
minimumEngineVersion- The minimum engine version supported for the user- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authentication
User.Builder authentication(Authentication authentication)
Denotes whether the user requires a password to authenticate.
- Parameters:
authentication- Denotes whether the user requires a password to authenticate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authentication
default User.Builder authentication(Consumer<Authentication.Builder> authentication)
Denotes whether the user requires a password to authenticate.
This is a convenience method that creates an instance of theAuthentication.Builderavoiding the need to create one manually viaAuthentication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthentication(Authentication).- Parameters:
authentication- a consumer that will call methods onAuthentication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
authentication(Authentication)
-
arn
User.Builder arn(String arn)
The Amazon Resource Name (ARN) of the user.
- Parameters:
arn- The Amazon Resource Name (ARN) of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-