Class UpdateUserRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.mq.model.MqRequest
-
- software.amazon.awssdk.services.mq.model.UpdateUserRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateUserRequest extends MqRequest implements ToCopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
Updates the information for an ActiveMQ user.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateUserRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbrokerId()The unique ID that Amazon MQ generates for the broker.static UpdateUserRequest.Builderbuilder()BooleanconsoleAccess()Enables access to the the ActiveMQ Web Console for the ActiveMQ user.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)List<String>groups()The list of groups (20 maximum) to which the ActiveMQ user belongs.booleanhasGroups()For responses, this returns true if the service returned a value for the Groups property.inthashCode()Stringpassword()The password of the user.BooleanreplicationUser()Defines whether the user is intended for data replication.List<SdkField<?>>sdkFields()static Class<? extends UpdateUserRequest.Builder>serializableBuilderClass()UpdateUserRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringusername()The username of the ActiveMQ user.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
brokerId
public final String brokerId()
The unique ID that Amazon MQ generates for the broker.
- Returns:
- The unique ID that Amazon MQ generates for the broker.
-
consoleAccess
public final Boolean consoleAccess()
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
- Returns:
- Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
-
hasGroups
public final boolean hasGroups()
For responses, this returns true if the service returned a value for the Groups property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
groups
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasGroups()method.- Returns:
- 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.
-
password
public final String 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, colons, or equal signs (,:=).
- Returns:
- 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, colons, or equal signs (,:=).
-
username
public final String 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.
- Returns:
- 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.
-
replicationUser
public final Boolean replicationUser()
Defines whether the user is intended for data replication.
- Returns:
- Defines whether the user is intended for data replication.
-
toBuilder
public UpdateUserRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>- Specified by:
toBuilderin classMqRequest
-
builder
public static UpdateUserRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateUserRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-