public LightsailDistribution withOriginPublicDNS(String originPublicDNS) {
        setOriginPublicDNS(originPublicDNS);
        return this;
    }
<p>
The public DNS of the origin.
</p>

@param originPublicDNS
       The public DNS of the origin.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/LightsailDistribution.java