@Generated(value="software.amazon.awssdk:codegen") public class User extends Object implements StructuredPojo, ToCopyableBuilder<User.Builder,User>
Describes a user.
Modifier and Type | Class and Description |
---|---|
static interface |
User.Builder |
Modifier and Type | Method and Description |
---|---|
static User.Builder |
builder() |
Instant |
createdTimestamp()
The time when the user was created.
|
String |
emailAddress()
The email address of the user.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
givenName()
The given name of the user.
|
int |
hashCode() |
String |
id()
The ID of the user.
|
LocaleType |
locale()
The locale of the user.
|
String |
localeString()
The locale of the user.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Instant |
modifiedTimestamp()
The time when the user was modified.
|
String |
organizationId()
The ID of the organization.
|
String |
recycleBinFolderId()
The ID of the recycle bin folder.
|
String |
rootFolderId()
The ID of the root folder.
|
static Class<? extends User.Builder> |
serializableBuilderClass() |
UserStatusType |
status()
The status of the user.
|
String |
statusString()
The status of the user.
|
UserStorageMetadata |
storage()
The storage for the user.
|
String |
surname()
The surname of the user.
|
String |
timeZoneId()
The time zone ID of the user.
|
User.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
UserType |
type()
The type of user.
|
String |
typeString()
The type of user.
|
String |
username()
The login name of the user.
|
copy
public String id()
The ID of the user.
public String username()
The login name of the user.
public String emailAddress()
The email address of the user.
public String givenName()
The given name of the user.
public String surname()
The surname of the user.
public String organizationId()
The ID of the organization.
public String rootFolderId()
The ID of the root folder.
public String recycleBinFolderId()
The ID of the recycle bin folder.
public UserStatusType status()
The status of the user.
If the service returns an enum value that is not available in the current SDK version, status
will
return UserStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusString()
.
UserStatusType
public String statusString()
The status of the user.
If the service returns an enum value that is not available in the current SDK version, status
will
return UserStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusString()
.
UserStatusType
public UserType type()
The type of user.
If the service returns an enum value that is not available in the current SDK version, type
will return
UserType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
UserType
public String typeString()
The type of user.
If the service returns an enum value that is not available in the current SDK version, type
will return
UserType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
UserType
public Instant createdTimestamp()
The time when the user was created.
public Instant modifiedTimestamp()
The time when the user was modified.
public String timeZoneId()
The time zone ID of the user.
public LocaleType locale()
The locale of the user.
If the service returns an enum value that is not available in the current SDK version, locale
will
return LocaleType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
localeString()
.
LocaleType
public String localeString()
The locale of the user.
If the service returns an enum value that is not available in the current SDK version, locale
will
return LocaleType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
localeString()
.
LocaleType
public UserStorageMetadata storage()
The storage for the user.
public User.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<User.Builder,User>
public static User.Builder builder()
public static Class<? extends User.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.