@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Updates the information for an ActiveMQ user.
NOOP
Constructor and Description |
---|
UpdateUserRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateUserRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBrokerId()
The unique ID that Amazon MQ generates for the broker.
|
Boolean |
getConsoleAccess()
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
|
List<String> |
getGroups()
The list of groups (20 maximum) to which the ActiveMQ user belongs.
|
String |
getPassword()
The password of the user.
|
Boolean |
getReplicationUser()
Defines whether the user is intended for data replication.
|
String |
getUsername()
The username of the ActiveMQ user.
|
int |
hashCode() |
Boolean |
isConsoleAccess()
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
|
Boolean |
isReplicationUser()
Defines whether the user is intended for data replication.
|
void |
setBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
|
void |
setConsoleAccess(Boolean consoleAccess)
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
|
void |
setGroups(Collection<String> groups)
The list of groups (20 maximum) to which the ActiveMQ user belongs.
|
void |
setPassword(String password)
The password of the user.
|
void |
setReplicationUser(Boolean replicationUser)
Defines whether the user is intended for data replication.
|
void |
setUsername(String username)
The username of the ActiveMQ user.
|
String |
toString()
Returns a string representation of this object.
|
UpdateUserRequest |
withBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
|
UpdateUserRequest |
withConsoleAccess(Boolean consoleAccess)
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
|
UpdateUserRequest |
withGroups(Collection<String> groups)
The list of groups (20 maximum) to which the ActiveMQ user belongs.
|
UpdateUserRequest |
withGroups(String... groups)
The list of groups (20 maximum) to which the ActiveMQ user belongs.
|
UpdateUserRequest |
withPassword(String password)
The password of the user.
|
UpdateUserRequest |
withReplicationUser(Boolean replicationUser)
Defines whether the user is intended for data replication.
|
UpdateUserRequest |
withUsername(String username)
The username of the ActiveMQ user.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
brokerId
- The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
The unique ID that Amazon MQ generates for the broker.
public UpdateUserRequest withBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
brokerId
- The unique ID that Amazon MQ generates for the broker.public void setConsoleAccess(Boolean consoleAccess)
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
consoleAccess
- Enables access to the the ActiveMQ Web Console for the ActiveMQ user.public Boolean getConsoleAccess()
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
public UpdateUserRequest withConsoleAccess(Boolean consoleAccess)
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
consoleAccess
- Enables access to the the ActiveMQ Web Console for the ActiveMQ user.public Boolean isConsoleAccess()
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
public List<String> getGroups()
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.
public void setGroups(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.
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.public UpdateUserRequest withGroups(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.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
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.public UpdateUserRequest withGroups(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.
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.public void setPassword(String password)
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 (,:=).
password
- 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 (,:=).public String getPassword()
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 (,:=).
public UpdateUserRequest withPassword(String password)
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 (,:=).
password
- 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 (,:=).public void setUsername(String username)
The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
username
- The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods,
underscores, and tildes (- . _ ~). This value must be 2-100 characters long.public String getUsername()
The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
public UpdateUserRequest withUsername(String username)
The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
username
- The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods,
underscores, and tildes (- . _ ~). This value must be 2-100 characters long.public void setReplicationUser(Boolean replicationUser)
Defines whether the user is intended for data replication.
replicationUser
- Defines whether the user is intended for data replication.public Boolean getReplicationUser()
Defines whether the user is intended for data replication.
public UpdateUserRequest withReplicationUser(Boolean replicationUser)
Defines whether the user is intended for data replication.
replicationUser
- Defines whether the user is intended for data replication.public Boolean isReplicationUser()
Defines whether the user is intended for data replication.
public String toString()
toString
in class Object
Object.toString()
public UpdateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.