public List<VolumePatch> volumes() {
        return this.volumes == null ? List.of() : this.volumes;
    }
@return Volumes defines the collection of Volume to inject into the pod.
sdk/java/src/main/java/com/pulumi/kubernetes/settings/v1alpha1/outputs/PodPresetSpecPatch.java