@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.
|
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)
Required. The unique ID that Amazon MQ generates for the broker.
brokerId
- Required. The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
Required. The unique ID that Amazon MQ generates for the broker.
public DescribeUserResult withBrokerId(String brokerId)
Required. The unique ID that Amazon MQ generates for the broker.
brokerId
- Required. 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 DescribeUserResult 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 DescribeUserResult 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 DescribeUserResult 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 setPending(UserPendingChanges pending)
The status of the changes pending for the ActiveMQ user.
pending
- The status of the changes pending for the ActiveMQ user.public UserPendingChanges getPending()
The status of the changes pending for the ActiveMQ user.
public DescribeUserResult withPending(UserPendingChanges pending)
The status of the changes pending for the ActiveMQ user.
pending
- The status of the changes pending for the ActiveMQ user.public void setUsername(String 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.
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()
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 DescribeUserResult withUsername(String 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.
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()