public void setGrants(java.util.Collection<Grant> grants) {
        if (grants == null) {
            this.grants = null;
            return;
        }

        this.grants = new java.util.ArrayList<Grant>(grants);
    }
<p>
Received grant details.
</p>

@param grants
       Received grant details.
aws-java-sdk-licensemanager/src/main/java/com/amazonaws/services/licensemanager/model/ListReceivedGrantsResult.java