public Optional<PodAffinityTermPatch> podAffinityTerm() {
        return Optional.ofNullable(this.podAffinityTerm);
    }
@return Required. A pod affinity term, associated with the corresponding weight.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/WeightedPodAffinityTermPatch.java