public ResourceQuery getResourceQuery() {
        return this.resourceQuery;
    }
<p>
The resource query to determine which Amazon Web Services resources are members of this resource group.
</p>
<note>
<p>
A resource group can contain either a <code>Configuration</code> or a <code>ResourceQuery</code>, but not both.
</p>
</note>

@return The resource query to determine which Amazon Web Services resources are members of this resource
        group.</p> <note>
        <p>
        A resource group can contain either a <code>Configuration</code> or a <code>ResourceQuery</code>, but not
        both.
        </p>
aws-java-sdk-resourcegroups/src/main/java/com/amazonaws/services/resourcegroups/model/UpdateGroupQueryRequest.java