/** * Construct a new immutable {@code Integration} instance. * @param id The value for the {@code id} attribute * @param isDeleted The value for the {@code isDeleted} attribute * @param steps The value for the {@code steps} attribute * @param flows The value for the {@code flows} attribute * @param connections The value for the {@code connections} attribute * @param description The value for the {@code description} attribute * @param properties The value for the {@code properties} attribute * @param configuredProperties The value for the {@code configuredProperties} attribute * @param version The value for the {@code version} attribute * @param createdAt The value for the {@code createdAt} attribute * @param updatedAt The value for the {@code updatedAt} attribute * @param tags The value for the {@code tags} attribute * @param name The value for the {@code name} attribute * @param resources The value for the {@code resources} attribute * @return An immutable Integration instance */ public static Integration of(Optional<String> id, boolean isDeleted, List<Step> steps, List<Flow> flows, List<Connection> connections, Optional<String> description, Map<String, ConfigurationProperty> properties, Map<String, String> configuredProperties, int version, long createdAt, long updatedAt, SortedSet<String> tags, String name, List<ResourceIdentifier> resources) { return of(id, isDeleted, (Iterable<? extends Step>) steps, (Iterable<? extends Flow>) flows, (Iterable<? extends Connection>) connections, description, properties, configuredProperties, version, createdAt, updatedAt, (Iterable<String>) tags, name, (Iterable<? extends ResourceIdentifier>) resources); }