@CustomType.Setter
        public Builder weight(Integer weight) {
            if (weight == null) {
              throw new MissingRequiredPropertyException("PreferredSchedulingTerm", "weight");
            }
            this.weight = weight;
            return this;
        }
@return Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/PreferredSchedulingTerm.java