public void setHostedZoneId(String hostedZoneId) {
        this.hostedZoneId = hostedZoneId;
    }
<p>
The ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the
configuration in a traffic policy.
</p>

@param hostedZoneId
       The ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the
       configuration in a traffic policy.
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/CreateTrafficPolicyInstanceRequest.java