public WeightedPodAffinityTermPatch build() {
            final var _resultValue = new WeightedPodAffinityTermPatch();
            _resultValue.podAffinityTerm = podAffinityTerm;
            _resultValue.weight = weight;
            return _resultValue;
        }
@return weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/WeightedPodAffinityTermPatch.java