public void setAttribute(String attribute) {
        this.attribute = attribute;
    }
<p>
The attribute detail of the way to sort search results.
</p>

@param attribute
       The attribute detail of the way to sort search results.
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/SearchSort.java