/** * Construct a new immutable {@code Connector} instance. * @param connectorGroup The value for the {@code connectorGroup} attribute * @param connectorGroupId The value for the {@code connectorGroupId} attribute * @param description The value for the {@code description} attribute * @param icon The value for the {@code icon} attribute * @param kind The value for the {@code kind} attribute * @param componentScheme The value for the {@code componentScheme} attribute * @param connectorFactory The value for the {@code connectorFactory} attribute * @param connectorCustomizers The value for the {@code connectorCustomizers} attribute * @param actionsSummary The value for the {@code actionsSummary} attribute * @param uses The value for the {@code uses} attribute * @param id The value for the {@code id} attribute * @param version The value for the {@code version} attribute * @param actions The value for the {@code actions} attribute * @param tags The value for the {@code tags} attribute * @param name The value for the {@code name} attribute * @param properties The value for the {@code properties} attribute * @param configuredProperties The value for the {@code configuredProperties} attribute * @param dependencies The value for the {@code dependencies} attribute * @param metadata The value for the {@code metadata} attribute * @return An immutable Connector instance */ public static Connector of(Optional<ConnectorGroup> connectorGroup, Optional<String> connectorGroupId, String description, String icon, Kind kind, Optional<String> componentScheme, Optional<String> connectorFactory, List<String> connectorCustomizers, Optional<ActionsSummary> actionsSummary, OptionalInt uses, Optional<String> id, int version, List<ConnectorAction> actions, SortedSet<String> tags, String name, Map<String, ConfigurationProperty> properties, Map<String, String> configuredProperties, List<Dependency> dependencies, Map<String, String> metadata) { return of(connectorGroup, connectorGroupId, description, icon, kind, componentScheme, connectorFactory, (Iterable<String>) connectorCustomizers, actionsSummary, uses, id, version, (Iterable<? extends ConnectorAction>) actions, (Iterable<String>) tags, name, properties, configuredProperties, (Iterable<? extends Dependency>) dependencies, metadata); }