public PodPresetSpecPatch build() {
            final var _resultValue = new PodPresetSpecPatch();
            _resultValue.env = env;
            _resultValue.envFrom = envFrom;
            _resultValue.selector = selector;
            _resultValue.volumeMounts = volumeMounts;
            _resultValue.volumes = volumes;
            return _resultValue;
        }
@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