public Builder readOnly(@Nullable Output<Boolean> readOnly) {
            $.readOnly = readOnly;
            return this;
        }
@param readOnly when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/policy/v1beta1/inputs/AllowedHostPathArgs.java