public PolicyDetails withTargetTags(java.util.Collection<Tag> targetTags) {
        setTargetTags(targetTags);
        return this;
    }
<p>
<b>[Custom snapshot and AMI policies only]</b> The single tag that identifies targeted resources for this policy.
</p>

@param targetTags
       <b>[Custom snapshot and AMI policies only]</b> The single tag that identifies targeted resources for this
       policy.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dlm/src/main/java/com/amazonaws/services/dlm/model/PolicyDetails.java