public void setStatus(ResourceStatus status) {
        this.status = status;
    }
<p>
A structure that contains the status of this resource's membership in the group.
</p>
<note>
<p>
This field is present in the response only if the group is of type <code>AWS::EC2::HostManagement</code>.
</p>
</note>

@param status
       A structure that contains the status of this resource's membership in the group.</p> <note>
       <p>
       This field is present in the response only if the group is of type <code>AWS::EC2::HostManagement</code>.
       </p>
aws-java-sdk-resourcegroups/src/main/java/com/amazonaws/services/resourcegroups/model/ListGroupResourcesItem.java