public ListReceivedGrantsResult withGrants(java.util.Collection<Grant> grants) {
        setGrants(grants);
        return this;
    }
<p>
Received grant details.
</p>

@param grants
       Received grant details.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-licensemanager/src/main/java/com/amazonaws/services/licensemanager/model/ListReceivedGrantsResult.java