@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeUserResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeUserResult() |
Modifier and Type | Method and Description |
---|---|
DescribeUserResult |
clone() |
boolean |
equals(Object obj) |
String |
getBrokerId()
Required.
|
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.
|
UserPendingChanges |
getPending()
The status of the changes pending for the ActiveMQ user.
|
String |
getUsername()
Required.
|
int |
hashCode() |
Boolean |
isConsoleAccess()
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
|
void |
setBrokerId(String brokerId)
Required.
|
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 |
setPending(UserPendingChanges pending)
The status of the changes pending for the ActiveMQ user.
|
void |
setUsername(String username)
Required.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeUserResult |
withBrokerId(String brokerId)
Required.
|
DescribeUserResult |
withConsoleAccess(Boolean consoleAccess)
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
|
DescribeUserResult |
withGroups(Collection<String> groups)
The list of groups (20 maximum) to which the ActiveMQ user belongs.
|
DescribeUserResult |
withGroups(String... groups)
The list of groups (20 maximum) to which the ActiveMQ user belongs.
|
DescribeUserResult |
withPending(UserPendingChanges pending)
The status of the changes pending for the ActiveMQ user.
|
DescribeUserResult |
withUsername(String username)
Required.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBrokerId(String brokerId)
brokerId
- Required. The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
public DescribeUserResult withBrokerId(String brokerId)
brokerId
- Required. 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 DescribeUserResult 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 DescribeUserResult 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 DescribeUserResult 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 setPending(UserPendingChanges pending)
pending
- The status of the changes pending for the ActiveMQ user.public UserPendingChanges getPending()
public DescribeUserResult withPending(UserPendingChanges pending)
pending
- The status of the changes pending for the ActiveMQ user.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 DescribeUserResult 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 DescribeUserResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.