public Optional<Output<Boolean>> readOnly() {
        return Optional.ofNullable(this.readOnly);
    }
@return readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/AWSElasticBlockStoreVolumeSourceArgs.java