public void setPublicDns(String publicDns) {
        this.publicDns = publicDns;
    }
<p>
The instance public DNS name.
</p>

@param publicDns
       The instance public DNS name.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Instance.java