public CreateWorkgroupRequest withPubliclyAccessible(Boolean publiclyAccessible) {
        setPubliclyAccessible(publiclyAccessible);
        return this;
    }
<p>
A value that specifies whether the workgroup can be accessed from a public network.
</p>

@param publiclyAccessible
       A value that specifies whether the workgroup 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-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/CreateWorkgroupRequest.java