public Cluster withPubliclyAccessible(Boolean publiclyAccessible) {
        setPubliclyAccessible(publiclyAccessible);
        return this;
    }
<p>
A boolean value that, if <code>true</code>, indicates that the cluster can be accessed from a public network.
</p>

@param publiclyAccessible
       A boolean value that, if <code>true</code>, indicates that the cluster can be accessed from a public
       network.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/Cluster.java