public CisTargetResourceAggregation withTargetStatus(String targetStatus) {
        setTargetStatus(targetStatus);
        return this;
    }
<p>
The status of the target resource.
</p>

@param targetStatus
       The status of the target resource.
@return Returns a reference to this object so that method calls can be chained together.
@see CisTargetStatus
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/CisTargetResourceAggregation.java