public Optional<Output<PodSchedulingContextSpecPatchArgs>> spec() {
        return Optional.ofNullable(this.spec);
    }
@return Spec describes where resources for the Pod are needed.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1alpha3/PodSchedulingContextPatchArgs.java