public DNSTargetResource withTargetResource(TargetResource targetResource) {
        setTargetResource(targetResource);
        return this;
    }
<p>
The target resource of the DNS target resource.
</p>

@param targetResource
       The target resource of the DNS target resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53recoveryreadiness/src/main/java/com/amazonaws/services/route53recoveryreadiness/model/DNSTargetResource.java