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

        this.grants = new java.util.ArrayList<GrantItem>(grants);
    }
<p>
Entitlements granted to the acceptor of a free trial as part of an agreement execution.
</p>

@param grants
       Entitlements granted to the acceptor of a free trial as part of an agreement execution.
aws-java-sdk-marketplaceagreement/src/main/java/com/amazonaws/services/marketplaceagreement/model/FreeTrialPricingTerm.java