public SortCriteria withField(Field field) {
        this.field = field.toString();
        return this;
    }
<p>
Represents the <code>Field</code> attribute to sort investigations.
</p>

@param field
       Represents the <code>Field</code> attribute to sort investigations.
@return Returns a reference to this object so that method calls can be chained together.
@see Field
aws-java-sdk-detective/src/main/java/com/amazonaws/services/detective/model/SortCriteria.java