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

@param attribute
       The attribute detail of the way to sort search results.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/SearchSort.java