public List<VolumeMount> volumeMounts() {
        return this.volumeMounts == null ? List.of() : this.volumeMounts;
    }
@return VolumeMounts defines the collection of VolumeMount to inject into containers.
sdk/java/src/main/java/com/pulumi/kubernetes/settings/v1alpha1/outputs/PodPresetSpec.java