public PodSpec build() {
            final var _resultValue = new PodSpec();
            _resultValue.activeDeadlineSeconds = activeDeadlineSeconds;
            _resultValue.affinity = affinity;
            _resultValue.automountServiceAccountToken = automountServiceAccountToken;
            _resultValue.containers = containers;
            _resultValue.dnsConfig = dnsConfig;
            _resultValue.dnsPolicy = dnsPolicy;
            _resultValue.enableServiceLinks = enableServiceLinks;
            _resultValue.ephemeralContainers = ephemeralContainers;
            _resultValue.hostAliases = hostAliases;
            _resultValue.hostIPC = hostIPC;
            _resultValue.hostNetwork = hostNetwork;
            _resultValue.hostPID = hostPID;
            _resultValue.hostUsers = hostUsers;
            _resultValue.hostname = hostname;
            _resultValue.imagePullSecrets = imagePullSecrets;
            _resultValue.initContainers = initContainers;
            _resultValue.nodeName = nodeName;
            _resultValue.nodeSelector = nodeSelector;
            _resultValue.os = os;
            _resultValue.overhead = overhead;
            _resultValue.preemptionPolicy = preemptionPolicy;
            _resultValue.priority = priority;
            _resultValue.priorityClassName = priorityClassName;
            _resultValue.readinessGates = readinessGates;
            _resultValue.resourceClaims = resourceClaims;
            _resultValue.resources = resources;
            _resultValue.restartPolicy = restartPolicy;
            _resultValue.runtimeClassName = runtimeClassName;
            _resultValue.schedulerName = schedulerName;
            _resultValue.schedulingGates = schedulingGates;
            _resultValue.securityContext = securityContext;
            _resultValue.serviceAccount = serviceAccount;
            _resultValue.serviceAccountName = serviceAccountName;
            _resultValue.setHostnameAsFQDN = setHostnameAsFQDN;
            _resultValue.shareProcessNamespace = shareProcessNamespace;
            _resultValue.subdomain = subdomain;
            _resultValue.terminationGracePeriodSeconds = terminationGracePeriodSeconds;
            _resultValue.tolerations = tolerations;
            _resultValue.topologySpreadConstraints = topologySpreadConstraints;
            _resultValue.volumes = volumes;
            return _resultValue;
        }
@return List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/PodSpec.java