Interface User.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<User.Builder,,User> SdkBuilder<User.Builder,,User> SdkPojo
- Enclosing class:
User
-
Method Summary
Modifier and TypeMethodDescriptionThe phone number minus country code, used for cloud deployments.challengeFailures(Integer challengeFailures) The number of failed password attempts for enterprise deployments, used for account lockout policies.codeValidation(Boolean codeValidation) Indicates whether the user can be verified through a custom invite code.countryCode(String countryCode) The country code for the user's phone number, used for cloud deployments.The first name of the user.inviteCode(String inviteCode) The invitation code for this user, used during registration to join the network.Indicates whether the user has administrator privileges in the network.isInviteExpired(Boolean isInviteExpired) Indicates whether the user's email invitation code has expired, applicable to cloud deployments.Indicates whether this account is a user (as opposed to a bot or other account type).The last name of the user.otpEnabled(Boolean otpEnabled) Indicates whether one-time password (OTP) authentication is enabled for the user.The SCIM (System for Cross-domain Identity Management) identifier for the user, used for identity synchronization.securityGroups(String... securityGroups) A list of security group IDs to which the user is assigned, determining their permissions and feature access.securityGroups(Collection<String> securityGroups) A list of security group IDs to which the user is assigned, determining their permissions and feature access.The current status of the user (1 for pending invitation, 2 for active).Indicates whether the user is currently suspended and unable to access the network.The descriptive type of the user account (e.g., 'user').The unique identifier for the user.The unique identifier for the user within the network.The email address or username 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
-
userId
The unique identifier for the user within the network.
- Parameters:
userId- The unique identifier for the user within the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstName
The first name of the user.
- Parameters:
firstName- The first name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastName
The last name of the user.
- Parameters:
lastName- The last name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The email address or username of the user. For bots, this must end in 'bot'.
- Parameters:
username- The email address or username of the user. For bots, this must end in 'bot'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
A list of security group IDs to which the user is assigned, determining their permissions and feature access.
- Parameters:
securityGroups- A list of security group IDs to which the user is assigned, determining their permissions and feature access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
A list of security group IDs to which the user is assigned, determining their permissions and feature access.
- Parameters:
securityGroups- A list of security group IDs to which the user is assigned, determining their permissions and feature access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAdmin
Indicates whether the user has administrator privileges in the network.
- Parameters:
isAdmin- Indicates whether the user has administrator privileges in the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suspended
Indicates whether the user is currently suspended and unable to access the network.
- Parameters:
suspended- Indicates whether the user is currently suspended and unable to access the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the user (1 for pending invitation, 2 for active).
- Parameters:
status- The current status of the user (1 for pending invitation, 2 for active).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otpEnabled
Indicates whether one-time password (OTP) authentication is enabled for the user.
- Parameters:
otpEnabled- Indicates whether one-time password (OTP) authentication is enabled for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scimId
The SCIM (System for Cross-domain Identity Management) identifier for the user, used for identity synchronization. Currently not used.
- Parameters:
scimId- The SCIM (System for Cross-domain Identity Management) identifier for the user, used for identity synchronization. Currently not used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The descriptive type of the user account (e.g., 'user').
- Parameters:
type- The descriptive type of the user account (e.g., 'user').- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cell
The phone number minus country code, used for cloud deployments.
- Parameters:
cell- The phone number minus country code, used for cloud deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countryCode
The country code for the user's phone number, used for cloud deployments.
- Parameters:
countryCode- The country code for the user's phone number, used for cloud deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
challengeFailures
The number of failed password attempts for enterprise deployments, used for account lockout policies.
- Parameters:
challengeFailures- The number of failed password attempts for enterprise deployments, used for account lockout policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isInviteExpired
Indicates whether the user's email invitation code has expired, applicable to cloud deployments.
- Parameters:
isInviteExpired- Indicates whether the user's email invitation code has expired, applicable to cloud deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isUser
Indicates whether this account is a user (as opposed to a bot or other account type).
- Parameters:
isUser- Indicates whether this account is a user (as opposed to a bot or other account type).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inviteCode
The invitation code for this user, used during registration to join the network.
- Parameters:
inviteCode- The invitation code for this user, used during registration to join the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeValidation
Indicates whether the user can be verified through a custom invite code.
- Parameters:
codeValidation- Indicates whether the user can be verified through a custom invite code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uname
The unique identifier for the user.
- Parameters:
uname- The unique identifier for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-