public ListPrincipalPoliciesRequest withAscendingOrder(Boolean ascendingOrder) {
        setAscendingOrder(ascendingOrder);
        return this;
    }
<p>
Specifies the order for results. If true, results are returned in ascending creation order.
</p>

@param ascendingOrder
       Specifies the order for results. If true, results are returned in ascending creation order.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ListPrincipalPoliciesRequest.java