@Stability(value=Stable) public static final class CfnBroker.UserProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBroker.UserProperty>
CfnBroker.UserProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBroker.UserProperty |
build()
Builds the configured instance.
|
CfnBroker.UserProperty.Builder |
consoleAccess(Boolean consoleAccess)
Sets the value of
CfnBroker.UserProperty.getConsoleAccess() |
CfnBroker.UserProperty.Builder |
consoleAccess(IResolvable consoleAccess)
Sets the value of
CfnBroker.UserProperty.getConsoleAccess() |
CfnBroker.UserProperty.Builder |
groups(List<String> groups)
Sets the value of
CfnBroker.UserProperty.getGroups() |
CfnBroker.UserProperty.Builder |
password(String password)
Sets the value of
CfnBroker.UserProperty.getPassword() |
CfnBroker.UserProperty.Builder |
username(String username)
Sets the value of
CfnBroker.UserProperty.getUsername() |
@Stability(value=Stable) public CfnBroker.UserProperty.Builder password(String password)
CfnBroker.UserProperty.getPassword()password - The password of the user. This parameter is required.
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 (,:=).this@Stability(value=Stable) public CfnBroker.UserProperty.Builder username(String username)
CfnBroker.UserProperty.getUsername()username - The username of the broker user. This parameter is required.
For Amazon MQ for ActiveMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). 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 AWS services, including CloudWatch Logs . Broker usernames are not intended to be used for private or sensitive data.
this@Stability(value=Stable) public CfnBroker.UserProperty.Builder consoleAccess(Boolean consoleAccess)
CfnBroker.UserProperty.getConsoleAccess()consoleAccess - Enables access to the ActiveMQ web console for the ActiveMQ user.
Does not apply to RabbitMQ brokers.this@Stability(value=Stable) public CfnBroker.UserProperty.Builder consoleAccess(IResolvable consoleAccess)
CfnBroker.UserProperty.getConsoleAccess()consoleAccess - Enables access to the ActiveMQ web console for the ActiveMQ user.
Does not apply to RabbitMQ brokers.this@Stability(value=Stable) public CfnBroker.UserProperty.Builder groups(List<String> groups)
CfnBroker.UserProperty.getGroups()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.this@Stability(value=Stable) public CfnBroker.UserProperty build()
build in interface software.amazon.jsii.Builder<CfnBroker.UserProperty>CfnBroker.UserPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.