public OrderByElement withFieldName(String fieldName) {
        setFieldName(fieldName);
        return this;
    }
<p>
The field on which to order.
</p>

@param fieldName
       The field on which to order.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-discovery/src/main/java/com/amazonaws/services/applicationdiscovery/model/OrderByElement.java