public FixedUpfrontPricingTerm withGrants(java.util.Collection<GrantItem> grants) {
        setGrants(grants);
        return this;
    }
<p>
Entitlements granted to the acceptor of fixed upfront as part of agreement execution.
</p>

@param grants
       Entitlements granted to the acceptor of fixed upfront as part of agreement execution.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-marketplaceagreement/src/main/java/com/amazonaws/services/marketplaceagreement/model/FixedUpfrontPricingTerm.java