@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsIamUserDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about an IAM user.
| Constructor and Description |
|---|
AwsIamUserDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsIamUserDetails |
clone() |
boolean |
equals(Object obj) |
List<AwsIamAttachedManagedPolicy> |
getAttachedManagedPolicies()
A list of the managed policies that are attached to the user.
|
String |
getCreateDate()
Indicates when the user was created.
|
List<String> |
getGroupList()
A list of IAM groups that the user belongs to.
|
String |
getPath()
The path to the user.
|
AwsIamPermissionsBoundary |
getPermissionsBoundary()
The permissions boundary for the user.
|
String |
getUserId()
The unique identifier for the user.
|
String |
getUserName()
The name of the user.
|
List<AwsIamUserPolicy> |
getUserPolicyList()
The list of inline policies that are embedded in the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttachedManagedPolicies(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies)
A list of the managed policies that are attached to the user.
|
void |
setCreateDate(String createDate)
Indicates when the user was created.
|
void |
setGroupList(Collection<String> groupList)
A list of IAM groups that the user belongs to.
|
void |
setPath(String path)
The path to the user.
|
void |
setPermissionsBoundary(AwsIamPermissionsBoundary permissionsBoundary)
The permissions boundary for the user.
|
void |
setUserId(String userId)
The unique identifier for the user.
|
void |
setUserName(String userName)
The name of the user.
|
void |
setUserPolicyList(Collection<AwsIamUserPolicy> userPolicyList)
The list of inline policies that are embedded in the user.
|
String |
toString()
Returns a string representation of this object.
|
AwsIamUserDetails |
withAttachedManagedPolicies(AwsIamAttachedManagedPolicy... attachedManagedPolicies)
A list of the managed policies that are attached to the user.
|
AwsIamUserDetails |
withAttachedManagedPolicies(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies)
A list of the managed policies that are attached to the user.
|
AwsIamUserDetails |
withCreateDate(String createDate)
Indicates when the user was created.
|
AwsIamUserDetails |
withGroupList(Collection<String> groupList)
A list of IAM groups that the user belongs to.
|
AwsIamUserDetails |
withGroupList(String... groupList)
A list of IAM groups that the user belongs to.
|
AwsIamUserDetails |
withPath(String path)
The path to the user.
|
AwsIamUserDetails |
withPermissionsBoundary(AwsIamPermissionsBoundary permissionsBoundary)
The permissions boundary for the user.
|
AwsIamUserDetails |
withUserId(String userId)
The unique identifier for the user.
|
AwsIamUserDetails |
withUserName(String userName)
The name of the user.
|
AwsIamUserDetails |
withUserPolicyList(AwsIamUserPolicy... userPolicyList)
The list of inline policies that are embedded in the user.
|
AwsIamUserDetails |
withUserPolicyList(Collection<AwsIamUserPolicy> userPolicyList)
The list of inline policies that are embedded in the user.
|
public List<AwsIamAttachedManagedPolicy> getAttachedManagedPolicies()
A list of the managed policies that are attached to the user.
public void setAttachedManagedPolicies(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies)
A list of the managed policies that are attached to the user.
attachedManagedPolicies - A list of the managed policies that are attached to the user.public AwsIamUserDetails withAttachedManagedPolicies(AwsIamAttachedManagedPolicy... attachedManagedPolicies)
A list of the managed policies that are attached to the user.
NOTE: This method appends the values to the existing list (if any). Use
setAttachedManagedPolicies(java.util.Collection) or
withAttachedManagedPolicies(java.util.Collection) if you want to override the existing values.
attachedManagedPolicies - A list of the managed policies that are attached to the user.public AwsIamUserDetails withAttachedManagedPolicies(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies)
A list of the managed policies that are attached to the user.
attachedManagedPolicies - A list of the managed policies that are attached to the user.public void setCreateDate(String createDate)
Indicates when the user was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
createDate - Indicates when the user was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
public String getCreateDate()
Indicates when the user was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
public AwsIamUserDetails withCreateDate(String createDate)
Indicates when the user was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
createDate - Indicates when the user was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
public List<String> getGroupList()
A list of IAM groups that the user belongs to.
public void setGroupList(Collection<String> groupList)
A list of IAM groups that the user belongs to.
groupList - A list of IAM groups that the user belongs to.public AwsIamUserDetails withGroupList(String... groupList)
A list of IAM groups that the user belongs to.
NOTE: This method appends the values to the existing list (if any). Use
setGroupList(java.util.Collection) or withGroupList(java.util.Collection) if you want to
override the existing values.
groupList - A list of IAM groups that the user belongs to.public AwsIamUserDetails withGroupList(Collection<String> groupList)
A list of IAM groups that the user belongs to.
groupList - A list of IAM groups that the user belongs to.public void setPath(String path)
The path to the user.
path - The path to the user.public String getPath()
The path to the user.
public AwsIamUserDetails withPath(String path)
The path to the user.
path - The path to the user.public void setPermissionsBoundary(AwsIamPermissionsBoundary permissionsBoundary)
The permissions boundary for the user.
permissionsBoundary - The permissions boundary for the user.public AwsIamPermissionsBoundary getPermissionsBoundary()
The permissions boundary for the user.
public AwsIamUserDetails withPermissionsBoundary(AwsIamPermissionsBoundary permissionsBoundary)
The permissions boundary for the user.
permissionsBoundary - The permissions boundary for the user.public void setUserId(String userId)
The unique identifier for the user.
userId - The unique identifier for the user.public String getUserId()
The unique identifier for the user.
public AwsIamUserDetails withUserId(String userId)
The unique identifier for the user.
userId - The unique identifier for the user.public void setUserName(String userName)
The name of the user.
userName - The name of the user.public String getUserName()
The name of the user.
public AwsIamUserDetails withUserName(String userName)
The name of the user.
userName - The name of the user.public List<AwsIamUserPolicy> getUserPolicyList()
The list of inline policies that are embedded in the user.
public void setUserPolicyList(Collection<AwsIamUserPolicy> userPolicyList)
The list of inline policies that are embedded in the user.
userPolicyList - The list of inline policies that are embedded in the user.public AwsIamUserDetails withUserPolicyList(AwsIamUserPolicy... userPolicyList)
The list of inline policies that are embedded in the user.
NOTE: This method appends the values to the existing list (if any). Use
setUserPolicyList(java.util.Collection) or withUserPolicyList(java.util.Collection) if you want
to override the existing values.
userPolicyList - The list of inline policies that are embedded in the user.public AwsIamUserDetails withUserPolicyList(Collection<AwsIamUserPolicy> userPolicyList)
The list of inline policies that are embedded in the user.
userPolicyList - The list of inline policies that are embedded in the user.public String toString()
toString in class ObjectObject.toString()public AwsIamUserDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.