public ConnectivityInfo withPublicAccess(PublicAccess publicAccess) {
        setPublicAccess(publicAccess);
        return this;
    }
<p>
Public access control for brokers.
</p>

@param publicAccess
       <p>
       Public access control for brokers.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ConnectivityInfo.java