@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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.
|
String |
getUsername()
Required.
|
int |
hashCode() |
Boolean |
isConsoleAccess()
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
|
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 |
setUsername(String username)
Required.
|
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 |
withUsername(String username)
Required.
|
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)
brokerId
- The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
public UpdateUserRequest withBrokerId(String brokerId)
brokerId
- The unique ID that Amazon MQ generates for the broker.public void setConsoleAccess(Boolean consoleAccess)
consoleAccess
- Enables access to the the ActiveMQ Web Console for the ActiveMQ user.public Boolean getConsoleAccess()
public UpdateUserRequest withConsoleAccess(Boolean consoleAccess)
consoleAccess
- Enables access to the the ActiveMQ Web Console for the ActiveMQ user.public Boolean isConsoleAccess()
public List<String> getGroups()
public void setGroups(Collection<String> groups)
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)
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)
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)
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.public String getPassword()
public UpdateUserRequest withPassword(String password)
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.public void setUsername(String username)
username
- Required. 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()
public UpdateUserRequest withUsername(String username)
username
- Required. 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 toString()
toString
in class Object
Object.toString()
public UpdateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.