public Builder preference(NodeSelectorTermArgs preference) {
            return preference(Output.of(preference));
        }
@param preference A node selector term, associated with the corresponding weight.

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