@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserType extends Object implements Serializable, Cloneable, StructuredPojo
The user type.
Constructor and Description |
---|
UserType() |
Modifier and Type | Method and Description |
---|---|
UserType |
clone() |
boolean |
equals(Object obj) |
List<AttributeType> |
getAttributes()
A container with information about the user type attributes.
|
Boolean |
getEnabled()
Specifies whether the user is enabled.
|
List<MFAOptionType> |
getMFAOptions()
The MFA options for the user.
|
Date |
getUserCreateDate()
The creation date of the user.
|
Date |
getUserLastModifiedDate()
The last modified date of the user.
|
String |
getUsername()
The user name of the user you wish to describe.
|
String |
getUserStatus()
The user status.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether the user is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Collection<AttributeType> attributes)
A container with information about the user type attributes.
|
void |
setEnabled(Boolean enabled)
Specifies whether the user is enabled.
|
void |
setMFAOptions(Collection<MFAOptionType> mFAOptions)
The MFA options for the user.
|
void |
setUserCreateDate(Date userCreateDate)
The creation date of the user.
|
void |
setUserLastModifiedDate(Date userLastModifiedDate)
The last modified date of the user.
|
void |
setUsername(String username)
The user name of the user you wish to describe.
|
void |
setUserStatus(String userStatus)
The user status.
|
void |
setUserStatus(UserStatusType userStatus)
The user status.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UserType |
withAttributes(AttributeType... attributes)
A container with information about the user type attributes.
|
UserType |
withAttributes(Collection<AttributeType> attributes)
A container with information about the user type attributes.
|
UserType |
withEnabled(Boolean enabled)
Specifies whether the user is enabled.
|
UserType |
withMFAOptions(Collection<MFAOptionType> mFAOptions)
The MFA options for the user.
|
UserType |
withMFAOptions(MFAOptionType... mFAOptions)
The MFA options for the user.
|
UserType |
withUserCreateDate(Date userCreateDate)
The creation date of the user.
|
UserType |
withUserLastModifiedDate(Date userLastModifiedDate)
The last modified date of the user.
|
UserType |
withUsername(String username)
The user name of the user you wish to describe.
|
UserType |
withUserStatus(String userStatus)
The user status.
|
UserType |
withUserStatus(UserStatusType userStatus)
The user status.
|
public void setUsername(String username)
The user name of the user you wish to describe.
username
- The user name of the user you wish to describe.public String getUsername()
The user name of the user you wish to describe.
public UserType withUsername(String username)
The user name of the user you wish to describe.
username
- The user name of the user you wish to describe.public List<AttributeType> getAttributes()
A container with information about the user type attributes.
public void setAttributes(Collection<AttributeType> attributes)
A container with information about the user type attributes.
attributes
- A container with information about the user type attributes.public UserType withAttributes(AttributeType... attributes)
A container with information about the user type attributes.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- A container with information about the user type attributes.public UserType withAttributes(Collection<AttributeType> attributes)
A container with information about the user type attributes.
attributes
- A container with information about the user type attributes.public void setUserCreateDate(Date userCreateDate)
The creation date of the user.
userCreateDate
- The creation date of the user.public Date getUserCreateDate()
The creation date of the user.
public UserType withUserCreateDate(Date userCreateDate)
The creation date of the user.
userCreateDate
- The creation date of the user.public void setUserLastModifiedDate(Date userLastModifiedDate)
The last modified date of the user.
userLastModifiedDate
- The last modified date of the user.public Date getUserLastModifiedDate()
The last modified date of the user.
public UserType withUserLastModifiedDate(Date userLastModifiedDate)
The last modified date of the user.
userLastModifiedDate
- The last modified date of the user.public void setEnabled(Boolean enabled)
Specifies whether the user is enabled.
enabled
- Specifies whether the user is enabled.public Boolean getEnabled()
Specifies whether the user is enabled.
public UserType withEnabled(Boolean enabled)
Specifies whether the user is enabled.
enabled
- Specifies whether the user is enabled.public Boolean isEnabled()
Specifies whether the user is enabled.
public void setUserStatus(String 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.
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.
UserStatusType
public String getUserStatus()
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.
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 UserType withUserStatus(String 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.
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.
UserStatusType
public void setUserStatus(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.
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.
UserStatusType
public UserType withUserStatus(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.
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.
UserStatusType
public List<MFAOptionType> getMFAOptions()
The MFA options for the user.
public void setMFAOptions(Collection<MFAOptionType> mFAOptions)
The MFA options for the user.
mFAOptions
- The MFA options for the user.public UserType withMFAOptions(MFAOptionType... mFAOptions)
The MFA options for the user.
NOTE: This method appends the values to the existing list (if any). Use
setMFAOptions(java.util.Collection)
or withMFAOptions(java.util.Collection)
if you want to
override the existing values.
mFAOptions
- The MFA options for the user.public UserType withMFAOptions(Collection<MFAOptionType> mFAOptions)
The MFA options for the user.
mFAOptions
- The MFA options for the user.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.