@Override @SafeVarargs public final Builder agentsInfo(Consumer<AgentInfo.Builder>... agentsInfo) { agentsInfo(Stream.of(agentsInfo).map(c -> AgentInfo.builder().applyMutation(c).build()).collect(Collectors.toList())); return this; }
if (context.testExpression("agentId", targetDepth)) { context.nextToken(); agentInfoBuilder.agentId(context.getUnmarshaller(String.class).unmarshall(context)); agentInfoBuilder.hostName(context.getUnmarshaller(String.class).unmarshall(context)); agentInfoBuilder.agentNetworkInfoList(new ListUnmarshaller<AgentNetworkInfo>(AgentNetworkInfoUnmarshaller .getInstance()).unmarshall(context)); agentInfoBuilder.connectorId(context.getUnmarshaller(String.class).unmarshall(context)); agentInfoBuilder.version(context.getUnmarshaller(String.class).unmarshall(context)); agentInfoBuilder.health(context.getUnmarshaller(String.class).unmarshall(context)); agentInfoBuilder.lastHealthPingTime(context.getUnmarshaller(String.class).unmarshall(context)); agentInfoBuilder.collectionStatus(context.getUnmarshaller(String.class).unmarshall(context)); agentInfoBuilder.agentType(context.getUnmarshaller(String.class).unmarshall(context)); agentInfoBuilder.registeredTime(context.getUnmarshaller(String.class).unmarshall(context)); return agentInfoBuilder.build();
@Override @SafeVarargs public final Builder agentsInfo(Consumer<AgentInfo.Builder>... agentsInfo) { agentsInfo(Stream.of(agentsInfo).map(c -> AgentInfo.builder().applyMutation(c).build()).collect(Collectors.toList())); return this; }
@Override @SafeVarargs public final Builder agentsInfo(Consumer<AgentInfo.Builder>... agentsInfo) { agentsInfo(Stream.of(agentsInfo).map(c -> AgentInfo.builder().applyMutation(c).build()).collect(Collectors.toList())); return this; }