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 Modifier and Type Method Description User.BuilderconsoleAccess(Boolean consoleAccess)Enables access to the ActiveMQ Web Console for the ActiveMQ user.User.Buildergroups(String... groups)The list of groups (20 maximum) to which the ActiveMQ user belongs.User.Buildergroups(Collection<String> groups)The list of groups (20 maximum) to which the ActiveMQ user belongs.User.Builderpassword(String password)Required.User.BuilderreplicationUser(Boolean replicationUser)Defines if this user is intended for CRDR replication purposes.User.Builderusername(String username)The username of the broker 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, sdkFields
-
-
-
-
Method Detail
-
consoleAccess
User.Builder consoleAccess(Boolean consoleAccess)
Enables access to the ActiveMQ Web Console for the ActiveMQ user. Does not apply to RabbitMQ brokers.
- Parameters:
consoleAccess- Enables access to the ActiveMQ Web Console for the ActiveMQ user. Does not apply to RabbitMQ brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
User.Builder groups(Collection<String> groups)
The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long. Does not apply to RabbitMQ brokers.
- Parameters:
groups- The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long. Does not apply to RabbitMQ brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
User.Builder groups(String... groups)
The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long. Does not apply to RabbitMQ brokers.
- Parameters:
groups- The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long. Does not apply to RabbitMQ brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
User.Builder password(String password)
Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).
- Parameters:
password- Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
User.Builder username(String username)
The username of the broker user. The following restrictions apply to broker usernames:
-
For Amazon MQ for ActiveMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
-
para>For Amazon MQ for RabbitMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores (- . _). This value must not contain a tilde (~) character. Amazon MQ prohibts using guest as a valid usename. This value must be 2-100 characters long.
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker usernames. Broker usernames are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker usernames are not intended to be used for private or sensitive data.
- Parameters:
username- The username of the broker user. The following restrictions apply to broker usernames:-
For Amazon MQ for ActiveMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
-
para>For Amazon MQ for RabbitMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores (- . _). This value must not contain a tilde (~) character. Amazon MQ prohibts using guest as a valid usename. This value must be 2-100 characters long.
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker usernames. Broker usernames are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker usernames are not intended to be used for private or sensitive data.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
replicationUser
User.Builder replicationUser(Boolean replicationUser)
Defines if this user is intended for CRDR replication purposes.
- Parameters:
replicationUser- Defines if this user is intended for CRDR replication purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-