Class UserMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.workdocs.model.UserMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UserMetadata.Builder,UserMetadata>
@Generated("software.amazon.awssdk:codegen") public final class UserMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserMetadata.Builder,UserMetadata>
Describes the metadata of the user.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUserMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserMetadata.Builderbuilder()StringemailAddress()The email address of the user.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgivenName()The given name of the user before a rename operation.inthashCode()Stringid()The ID of the user.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UserMetadata.Builder>serializableBuilderClass()Stringsurname()The surname of the user.UserMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringusername()The name of the user.-
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
-
id
public final String id()
The ID of the user.
- Returns:
- The ID of the user.
-
username
public final String username()
The name of the user.
- Returns:
- The name of the user.
-
givenName
public final String givenName()
The given name of the user before a rename operation.
- Returns:
- The given name of the user before a rename operation.
-
surname
public final String surname()
The surname of the user.
- Returns:
- The surname of the user.
-
emailAddress
public final String emailAddress()
The email address of the user.
- Returns:
- The email address of the user.
-
toBuilder
public UserMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UserMetadata.Builder,UserMetadata>
-
builder
public static UserMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends UserMetadata.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-