public DNSTargetResource withHostedZoneArn(String hostedZoneArn) {
        setHostedZoneArn(hostedZoneArn);
        return this;
    }
<p>
The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target
resource.
</p>

@param hostedZoneArn
       The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the
       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