public TagScopeTerm withTarget(String target) {
        setTarget(target);
        return this;
    }
<p>
The type of object to apply the condition to.
</p>

@param target
       The type of object to apply the condition to.
@return Returns a reference to this object so that method calls can be chained together.
@see TagTarget
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/TagScopeTerm.java