Class DetachUserPolicyRequest

    • Constructor Detail

      • DetachUserPolicyRequest

        public DetachUserPolicyRequest()
    • Method Detail

      • setUserName

        public void setUserName​(String userName)

        The name (friendly name, not ARN) of the IAM user to detach the policy from.

        The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

        Parameters:
        userName - The name (friendly name, not ARN) of the IAM user to detach the policy from.

        The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

      • getUserName

        public String getUserName()

        The name (friendly name, not ARN) of the IAM user to detach the policy from.

        The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

        Returns:
        The name (friendly name, not ARN) of the IAM user to detach the policy from.

        The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

      • withUserName

        public DetachUserPolicyRequest withUserName​(String userName)

        The name (friendly name, not ARN) of the IAM user to detach the policy from.

        The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

        Parameters:
        userName - The name (friendly name, not ARN) of the IAM user to detach the policy from.

        The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

        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