public CreateEntitlementRequest withAppVisibility(AppVisibility appVisibility) {
        this.appVisibility = appVisibility.toString();
        return this;
    }
<p>
Specifies whether all or selected apps are entitled.
</p>

@param appVisibility
       Specifies whether all or selected apps are entitled.
@return Returns a reference to this object so that method calls can be chained together.
@see AppVisibility
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/CreateEntitlementRequest.java