@Override @SafeVarargs public final Builder neighbors(Consumer<NeighborConnectionDetail.Builder>... neighbors) { neighbors(Stream.of(neighbors).map(c -> NeighborConnectionDetail.builder().applyMutation(c).build()) .collect(Collectors.toList())); return this; }
if (context.testExpression("sourceServerId", targetDepth)) { context.nextToken(); neighborConnectionDetailBuilder.sourceServerId(context.getUnmarshaller(String.class).unmarshall(context)); .destinationServerId(context.getUnmarshaller(String.class).unmarshall(context)); neighborConnectionDetailBuilder.destinationPort(context.getUnmarshaller(Integer.class).unmarshall(context)); neighborConnectionDetailBuilder.transportProtocol(context.getUnmarshaller(String.class).unmarshall(context)); neighborConnectionDetailBuilder.connectionsCount(context.getUnmarshaller(Long.class).unmarshall(context)); return neighborConnectionDetailBuilder.build();
@Override @SafeVarargs public final Builder neighbors(Consumer<NeighborConnectionDetail.Builder>... neighbors) { neighbors(Stream.of(neighbors).map(c -> NeighborConnectionDetail.builder().applyMutation(c).build()) .collect(Collectors.toList())); return this; }
@Override @SafeVarargs public final Builder neighbors(Consumer<NeighborConnectionDetail.Builder>... neighbors) { neighbors(Stream.of(neighbors).map(c -> NeighborConnectionDetail.builder().applyMutation(c).build()) .collect(Collectors.toList())); return this; }