public PreferredSchedulingTerm build() {
            final var _resultValue = new PreferredSchedulingTerm();
            _resultValue.preference = preference;
            _resultValue.weight = weight;
            return _resultValue;
        }
@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