Class User
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<User.Builder,User>
Describes a user.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic User.Builderbuilder()final InstantThe time when the user was created.final StringThe email address of the user.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final StringThe given name of the user.final inthashCode()final Stringid()The ID of the user.final LocaleTypelocale()The locale of the user.final StringThe locale of the user.final InstantThe time when the user was modified.final StringThe ID of the organization.final StringThe ID of the recycle bin folder.final StringThe ID of the root folder.static Class<? extends User.Builder> final UserStatusTypestatus()The status of the user.final StringThe status of the user.final UserStorageMetadatastorage()The storage for the user.final Stringsurname()The surname of the user.final StringThe time zone ID of the user.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final UserTypetype()The type of user.final StringThe type of user.final Stringusername()The login name of the user.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
-
username
-
emailAddress
The email address of the user.
- Returns:
- The email address of the user.
-
givenName
-
surname
-
organizationId
The ID of the organization.
- Returns:
- The ID of the organization.
-
rootFolderId
-
recycleBinFolderId
The ID of the recycle bin folder.
- Returns:
- The ID of the recycle bin folder.
-
status
The status of the user.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnUserStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the user.
- See Also:
-
statusAsString
The status of the user.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnUserStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the user.
- See Also:
-
type
The type of user.
If the service returns an enum value that is not available in the current SDK version,
typewill returnUserType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of user.
- See Also:
-
typeAsString
The type of user.
If the service returns an enum value that is not available in the current SDK version,
typewill returnUserType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of user.
- See Also:
-
createdTimestamp
The time when the user was created.
- Returns:
- The time when the user was created.
-
modifiedTimestamp
The time when the user was modified.
- Returns:
- The time when the user was modified.
-
timeZoneId
The time zone ID of the user.
- Returns:
- The time zone ID of the user.
-
locale
The locale of the user.
If the service returns an enum value that is not available in the current SDK version,
localewill returnLocaleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlocaleAsString().- Returns:
- The locale of the user.
- See Also:
-
localeAsString
The locale of the user.
If the service returns an enum value that is not available in the current SDK version,
localewill returnLocaleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlocaleAsString().- Returns:
- The locale of the user.
- See Also:
-
storage
The storage for the user.
- Returns:
- The storage for the user.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<User.Builder,User> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-