public GetEntitlementsResult withEntitlements(java.util.Collection<Entitlement> entitlements) {
        setEntitlements(entitlements);
        return this;
    }
<p>
The set of entitlements found through the GetEntitlements operation. If the result contains an empty set of
entitlements, NextToken might still be present and should be used.
</p>

@param entitlements
       The set of entitlements found through the GetEntitlements operation. If the result contains an empty set
       of entitlements, NextToken might still be present and should be used.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-marketplaceentitlement/src/main/java/com/amazonaws/services/marketplaceentitlement/model/GetEntitlementsResult.java