Class UserType
- All Implemented Interfaces:
Serializable
,Cloneable
The user type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A container with information about the user type attributes.Specifies whether the user is enabled.The creation date of the user.The last modified date of the user.The user name of the user you wish to describe.The user status.int
hashCode()
Specifies whether the user is enabled.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
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
(UserStatusType userStatus) The user status.void
setUserStatus
(String userStatus) The user status.toString()
Returns a string representation of this object; useful for testing and debugging.withAttributes
(AttributeType... attributes) A container with information about the user type attributes.withAttributes
(Collection<AttributeType> attributes) A container with information about the user type attributes.withEnabled
(Boolean enabled) Specifies whether the user is enabled.withUserCreateDate
(Date userCreateDate) The creation date of the user.withUserLastModifiedDate
(Date userLastModifiedDate) The last modified date of the user.withUsername
(String username) The user name of the user you wish to describe.withUserStatus
(UserStatusType userStatus) The user status.withUserStatus
(String userStatus) The user status.
-
Constructor Details
-
UserType
public UserType()
-
-
Method Details
-
setUsername
The user name of the user you wish to describe.
- Parameters:
username
- The user name of the user you wish to describe.
-
getUsername
The user name of the user you wish to describe.
- Returns:
- The user name of the user you wish to describe.
-
withUsername
The user name of the user you wish to describe.
- Parameters:
username
- The user name of the user you wish to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributes
A container with information about the user type attributes.
- Returns:
- A container with information about the user type attributes.
-
setAttributes
A container with information about the user type attributes.
- Parameters:
attributes
- A container with information about the user type attributes.
-
withAttributes
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)
orwithAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
attributes
- A container with information about the user type attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
A container with information about the user type attributes.
- Parameters:
attributes
- A container with information about the user type attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUserCreateDate
The creation date of the user.
- Parameters:
userCreateDate
- The creation date of the user.
-
getUserCreateDate
The creation date of the user.
- Returns:
- The creation date of the user.
-
withUserCreateDate
The creation date of the user.
- Parameters:
userCreateDate
- The creation date of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUserLastModifiedDate
The last modified date of the user.
- Parameters:
userLastModifiedDate
- The last modified date of the user.
-
getUserLastModifiedDate
The last modified date of the user.
- Returns:
- The last modified date of the user.
-
withUserLastModifiedDate
The last modified date of the user.
- Parameters:
userLastModifiedDate
- The last modified date of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnabled
Specifies whether the user is enabled.
- Parameters:
enabled
- Specifies whether the user is enabled.
-
getEnabled
Specifies whether the user is enabled.
- Returns:
- Specifies whether the user is enabled.
-
withEnabled
Specifies whether the user is enabled.
- Parameters:
enabled
- Specifies whether the user is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnabled
Specifies whether the user is enabled.
- Returns:
- Specifies whether the user is enabled.
-
setUserStatus
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.
- Parameters:
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.
- See Also:
-
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.
- Returns:
- 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.
- See Also:
-
withUserStatus
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setUserStatus
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.
- Parameters:
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.
- See Also:
-
withUserStatus
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-