public SearchSortResult withField(OrderByFieldType field) {
        this.field = field.toString();
        return this;
    }
<p>
Sort search results based on this field name.
</p>

@param field
       Sort search results based on this field name.
@return Returns a reference to this object so that method calls can be chained together.
@see OrderByFieldType
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/SearchSortResult.java