@CustomType.Setter
        public Builder storageCapacity(@Nullable Boolean storageCapacity) {

            this.storageCapacity = storageCapacity;
            return this;
        }
@return VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is &#34;Persistent&#34;, which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is &#34;Ephemeral&#34;. In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
sdk/java/src/main/java/com/pulumi/kubernetes/storage/v1beta1/outputs/CSIDriverSpecPatch.java