public Optional<Output<Integer>> weight() {
        return Optional.ofNullable(this.weight);
    }
@return weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/WeightedPodAffinityTermPatchArgs.java