public Optional<FlexVolumeSource> flexVolume() {
        return Optional.ofNullable(this.flexVolume);
    }
@return flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/Volume.java