Class UserSummary
- java.lang.Object
-
- software.amazon.awssdk.services.mq.model.UserSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UserSummary.Builder,UserSummary>
@Generated("software.amazon.awssdk:codegen") public final class UserSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserSummary.Builder,UserSummary>
Returns a list of all broker users. Does not apply to RabbitMQ brokers.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUserSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ChangeTypependingChange()The type of change pending for the broker user.StringpendingChangeAsString()The type of change pending for the broker user.List<SdkField<?>>sdkFields()static Class<? extends UserSummary.Builder>serializableBuilderClass()UserSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringusername()Required.-
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
-
pendingChange
public final ChangeType pendingChange()
The type of change pending for the broker user.
If the service returns an enum value that is not available in the current SDK version,
pendingChangewill returnChangeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompendingChangeAsString().- Returns:
- The type of change pending for the broker user.
- See Also:
ChangeType
-
pendingChangeAsString
public final String pendingChangeAsString()
The type of change pending for the broker user.
If the service returns an enum value that is not available in the current SDK version,
pendingChangewill returnChangeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompendingChangeAsString().- Returns:
- The type of change pending for the broker user.
- See Also:
ChangeType
-
username
public final String username()
Required. The username of the broker user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
- Returns:
- Required. The username of the broker user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
-
toBuilder
public UserSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UserSummary.Builder,UserSummary>
-
builder
public static UserSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends UserSummary.Builder> serializableBuilderClass()
-
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.
-
-