Class AttachGroupPolicyRequest

    • Constructor Detail

      • AttachGroupPolicyRequest

        public AttachGroupPolicyRequest()
    • Method Detail

      • setGroupName

        public void setGroupName​(String groupName)

        The name (friendly name, not ARN) of the group to attach the policy to.

        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:
        groupName - The name (friendly name, not ARN) of the group to attach the policy to.

        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: =,.@-

      • getGroupName

        public String getGroupName()

        The name (friendly name, not ARN) of the group to attach the policy to.

        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 group to attach the policy to.

        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: =,.@-

      • withGroupName

        public AttachGroupPolicyRequest withGroupName​(String groupName)

        The name (friendly name, not ARN) of the group to attach the policy to.

        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:
        groupName - The name (friendly name, not ARN) of the group to attach the policy to.

        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