Class PolicyGroup

    • Constructor Detail

      • PolicyGroup

        public PolicyGroup()
    • Method Detail

      • setGroupName

        public void setGroupName​(String groupName)

        The name (friendly name, not ARN) identifying the group.

        Parameters:
        groupName - The name (friendly name, not ARN) identifying the group.
      • getGroupName

        public String getGroupName()

        The name (friendly name, not ARN) identifying the group.

        Returns:
        The name (friendly name, not ARN) identifying the group.
      • withGroupName

        public PolicyGroup withGroupName​(String groupName)

        The name (friendly name, not ARN) identifying the group.

        Parameters:
        groupName - The name (friendly name, not ARN) identifying the group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setGroupId

        public void setGroupId​(String groupId)

        The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.

        Parameters:
        groupId - The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.
      • getGroupId

        public String getGroupId()

        The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.

        Returns:
        The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.
      • withGroupId

        public PolicyGroup withGroupId​(String groupId)

        The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.

        Parameters:
        groupId - The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide.
        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