@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
CreateUserRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateUserRequest | 
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()
Required. 
 | 
String | 
getUsername()
The username of the ActiveMQ user. 
 | 
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)
Required. 
 | 
void | 
setUsername(String username)
The username of the ActiveMQ user. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateUserRequest | 
withBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker. 
 | 
CreateUserRequest | 
withConsoleAccess(Boolean consoleAccess)
Enables access to the the ActiveMQ Web Console for the ActiveMQ user. 
 | 
CreateUserRequest | 
withGroups(Collection<String> groups)
The list of groups (20 maximum) to which the ActiveMQ user belongs. 
 | 
CreateUserRequest | 
withGroups(String... groups)
The list of groups (20 maximum) to which the ActiveMQ user belongs. 
 | 
CreateUserRequest | 
withPassword(String password)
Required. 
 | 
CreateUserRequest | 
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, withSdkRequestTimeoutpublic void setBrokerId(String brokerId)
brokerId - The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
public CreateUserRequest 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 CreateUserRequest 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 CreateUserRequest 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 CreateUserRequest 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 - 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.public String getPassword()
public CreateUserRequest withPassword(String password)
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.public void setUsername(String username)
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()
public CreateUserRequest withUsername(String username)
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 toString()
toString in class ObjectObject.toString()public CreateUserRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.