@Generated(value="software.amazon.awssdk:codegen") public class UserType extends Object implements StructuredPojo, ToCopyableBuilder<UserType.Builder,UserType>
The user type.
Modifier and Type | Class and Description |
---|---|
static interface |
UserType.Builder |
Modifier and Type | Method and Description |
---|---|
List<AttributeType> |
attributes()
A container with information about the user type attributes.
|
static UserType.Builder |
builder() |
Boolean |
enabled()
Specifies whether the user is enabled.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
List<MFAOptionType> |
mfaOptions()
The MFA options for the user.
|
static Class<? extends UserType.Builder> |
serializableBuilderClass() |
UserType.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Instant |
userCreateDate()
The creation date of the user.
|
Instant |
userLastModifiedDate()
The last modified date of the user.
|
String |
username()
The user name of the user you wish to describe.
|
UserStatusType |
userStatus()
The user status.
|
String |
userStatusString()
The user status.
|
copy
public String username()
The user name of the user you wish to describe.
public List<AttributeType> attributes()
A container with information about the user type attributes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Instant userCreateDate()
The creation date of the user.
public Instant userLastModifiedDate()
The last modified date of the user.
public Boolean enabled()
Specifies whether the user is enabled.
public UserStatusType userStatus()
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
If the service returns an enum value that is not available in the current SDK version, userStatus
will
return UserStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
userStatusString()
.
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
UserStatusType
public String userStatusString()
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
If the service returns an enum value that is not available in the current SDK version, userStatus
will
return UserStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
userStatusString()
.
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
UserStatusType
public List<MFAOptionType> mfaOptions()
The MFA options for the user.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public UserType.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UserType.Builder,UserType>
public static UserType.Builder builder()
public static Class<? extends UserType.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.