public void setEntitlements(java.util.Collection<Entitlement> entitlements) {
        if (entitlements == null) {
            this.entitlements = null;
            return;
        }

        this.entitlements = new java.util.ArrayList<Entitlement>(entitlements);
    }
<p>
The entitlements.
</p>

@param entitlements
       The entitlements.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/DescribeEntitlementsResult.java