/** * Sets or replaces all elements for {@link Flow#getConnections() connections} list. * @param elements An iterable of connections elements * @return {@code this} builder for use in a chained invocation */ @JsonProperty("connections") public final Flow.Builder connections(Iterable<? extends Connection> elements) { this.connections.clear(); return addAllConnections(elements); }
description(descriptionOptional); addAllConnections(instance.getConnections());