Class UserDetail

    • Constructor Detail

      • UserDetail

        public UserDetail()
    • Method Detail

      • setPath

        public void setPath​(String path)

        The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.

        Parameters:
        path - The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.
      • getPath

        public String getPath()

        The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.

        Returns:
        The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.
      • withPath

        public UserDetail withPath​(String path)

        The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.

        Parameters:
        path - The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUserName

        public void setUserName​(String userName)

        The friendly name identifying the user.

        Parameters:
        userName - The friendly name identifying the user.
      • getUserName

        public String getUserName()

        The friendly name identifying the user.

        Returns:
        The friendly name identifying the user.
      • withUserName

        public UserDetail withUserName​(String userName)

        The friendly name identifying the user.

        Parameters:
        userName - The friendly name identifying the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUserId

        public void setUserId​(String userId)

        The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.

        Parameters:
        userId - The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.
      • getUserId

        public String getUserId()

        The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.

        Returns:
        The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.
      • withUserId

        public UserDetail withUserId​(String userId)

        The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.

        Parameters:
        userId - The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setArn

        public void setArn​(String arn)
        Parameters:
        arn -
      • getArn

        public String getArn()
        Returns:
      • withArn

        public UserDetail withArn​(String arn)
        Parameters:
        arn -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withCreateDate

        public UserDetail withCreateDate​(Date createDate)

        The date and time, in ISO 8601 date-time format, when the user was created.

        Parameters:
        createDate - The date and time, in ISO 8601 date-time format, when the user was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getUserPolicyList

        public List<PolicyDetail> getUserPolicyList()

        A list of the inline policies embedded in the user.

        Returns:
        A list of the inline policies embedded in the user.
      • setUserPolicyList

        public void setUserPolicyList​(Collection<PolicyDetail> userPolicyList)

        A list of the inline policies embedded in the user.

        Parameters:
        userPolicyList - A list of the inline policies embedded in the user.
      • withUserPolicyList

        public UserDetail withUserPolicyList​(PolicyDetail... userPolicyList)

        A list of the inline policies 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.

        Parameters:
        userPolicyList - A list of the inline policies embedded in the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withUserPolicyList

        public UserDetail withUserPolicyList​(Collection<PolicyDetail> userPolicyList)

        A list of the inline policies embedded in the user.

        Parameters:
        userPolicyList - A list of the inline policies embedded in the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getGroupList

        public List<String> getGroupList()

        A list of IAM groups that the user is in.

        Returns:
        A list of IAM groups that the user is in.
      • setGroupList

        public void setGroupList​(Collection<String> groupList)

        A list of IAM groups that the user is in.

        Parameters:
        groupList - A list of IAM groups that the user is in.
      • withGroupList

        public UserDetail withGroupList​(String... groupList)

        A list of IAM groups that the user is in.

        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.

        Parameters:
        groupList - A list of IAM groups that the user is in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withGroupList

        public UserDetail withGroupList​(Collection<String> groupList)

        A list of IAM groups that the user is in.

        Parameters:
        groupList - A list of IAM groups that the user is in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAttachedManagedPolicies

        public List<AttachedPolicy> getAttachedManagedPolicies()

        A list of the managed policies attached to the user.

        Returns:
        A list of the managed policies attached to the user.
      • setAttachedManagedPolicies

        public void setAttachedManagedPolicies​(Collection<AttachedPolicy> attachedManagedPolicies)

        A list of the managed policies attached to the user.

        Parameters:
        attachedManagedPolicies - A list of the managed policies attached to the user.
      • withAttachedManagedPolicies

        public UserDetail withAttachedManagedPolicies​(Collection<AttachedPolicy> attachedManagedPolicies)

        A list of the managed policies attached to the user.

        Parameters:
        attachedManagedPolicies - A list of the managed policies attached to the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object