public TargetSummary withTargetStatus(TargetStatus targetStatus) {
        this.targetStatus = targetStatus.toString();
        return this;
    }
<p>
The status of the target.
</p>

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