public Builder readOnly(@Nullable Output<Boolean> readOnly) {
            $.readOnly = readOnly;
            return this;
        }
@param readOnly Specifies a read-only configuration for the volume. Defaults to false (read/write).

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/EphemeralVolumeSourceArgs.java