public DescribeEntitlementsResult withEntitlements(java.util.Collection<Entitlement> entitlements) {
        setEntitlements(entitlements);
        return this;
    }
<p>
The entitlements.
</p>

@param entitlements
       The entitlements.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/DescribeEntitlementsResult.java