public Builder podAffinityTerm(Output<PodAffinityTermArgs> podAffinityTerm) {
            $.podAffinityTerm = podAffinityTerm;
            return this;
        }
@param podAffinityTerm Required. A pod affinity term, associated with the corresponding weight.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/WeightedPodAffinityTermArgs.java