@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class User extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
User |
clone() |
boolean |
equals(Object obj) |
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()
Required.
|
int |
hashCode() |
Boolean |
isConsoleAccess()
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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)
Required.
|
String |
toString()
Returns a string representation of this object.
|
User |
withConsoleAccess(Boolean consoleAccess)
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
|
User |
withGroups(Collection<String> groups)
The list of groups (20 maximum) to which the ActiveMQ user belongs.
|
User |
withGroups(String... groups)
The list of groups (20 maximum) to which the ActiveMQ user belongs.
|
User |
withPassword(String password)
Required.
|
User |
withUsername(String username)
Required.
|
public void setConsoleAccess(Boolean consoleAccess)
consoleAccess
- Enables access to the the ActiveMQ Web Console for the ActiveMQ user.public Boolean getConsoleAccess()
public User 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 User 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 User 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 ActiveMQ 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 User withPassword(String password)
password
- Required. The password of the ActiveMQ 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 User 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.