token = context.nextToken(); if (token == VALUE_NULL) { return getDiscoverySummaryResponseBuilder.build(); if (context.testExpression("servers", targetDepth)) { context.nextToken(); getDiscoverySummaryResponseBuilder.servers(context.getUnmarshaller(Long.class).unmarshall(context)); getDiscoverySummaryResponseBuilder.applications(context.getUnmarshaller(Long.class).unmarshall(context)); getDiscoverySummaryResponseBuilder.serversMappedToApplications(context.getUnmarshaller(Long.class) .unmarshall(context)); getDiscoverySummaryResponseBuilder.serversMappedtoTags(context.getUnmarshaller(Long.class) .unmarshall(context)); getDiscoverySummaryResponseBuilder.agentSummary(CustomerAgentInfoUnmarshaller.getInstance().unmarshall( context)); getDiscoverySummaryResponseBuilder.connectorSummary(CustomerConnectorInfoUnmarshaller.getInstance() .unmarshall(context)); return getDiscoverySummaryResponseBuilder.build();
/** * <p> * Details about discovered agents, including agent status and health. * </p> * This is a convenience that creates an instance of the {@link CustomerAgentInfo.Builder} avoiding the need to * create one manually via {@link CustomerAgentInfo#builder()}. * * When the {@link Consumer} completes, {@link CustomerAgentInfo.Builder#build()} is called immediately and its * result is passed to {@link #agentSummary(CustomerAgentInfo)}. * * @param agentSummary * a consumer that will call methods on {@link CustomerAgentInfo.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #agentSummary(CustomerAgentInfo) */ default Builder agentSummary(Consumer<CustomerAgentInfo.Builder> agentSummary) { return agentSummary(CustomerAgentInfo.builder().applyMutation(agentSummary).build()); }
/** * <p> * Details about discovered agents, including agent status and health. * </p> * This is a convenience that creates an instance of the {@link CustomerAgentInfo.Builder} avoiding the need to * create one manually via {@link CustomerAgentInfo#builder()}. * * When the {@link Consumer} completes, {@link CustomerAgentInfo.Builder#build()} is called immediately and its * result is passed to {@link #agentSummary(CustomerAgentInfo)}. * * @param agentSummary * a consumer that will call methods on {@link CustomerAgentInfo.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #agentSummary(CustomerAgentInfo) */ default Builder agentSummary(Consumer<CustomerAgentInfo.Builder> agentSummary) { return agentSummary(CustomerAgentInfo.builder().applyMutation(agentSummary).build()); }
/** * <p> * Details about discovered connectors, including connector status and health. * </p> * This is a convenience that creates an instance of the {@link CustomerConnectorInfo.Builder} avoiding the need * to create one manually via {@link CustomerConnectorInfo#builder()}. * * When the {@link Consumer} completes, {@link CustomerConnectorInfo.Builder#build()} is called immediately and * its result is passed to {@link #connectorSummary(CustomerConnectorInfo)}. * * @param connectorSummary * a consumer that will call methods on {@link CustomerConnectorInfo.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #connectorSummary(CustomerConnectorInfo) */ default Builder connectorSummary(Consumer<CustomerConnectorInfo.Builder> connectorSummary) { return connectorSummary(CustomerConnectorInfo.builder().applyMutation(connectorSummary).build()); } }
/** * <p> * Details about discovered connectors, including connector status and health. * </p> * This is a convenience that creates an instance of the {@link CustomerConnectorInfo.Builder} avoiding the need * to create one manually via {@link CustomerConnectorInfo#builder()}. * * When the {@link Consumer} completes, {@link CustomerConnectorInfo.Builder#build()} is called immediately and * its result is passed to {@link #connectorSummary(CustomerConnectorInfo)}. * * @param connectorSummary * a consumer that will call methods on {@link CustomerConnectorInfo.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #connectorSummary(CustomerConnectorInfo) */ default Builder connectorSummary(Consumer<CustomerConnectorInfo.Builder> connectorSummary) { return connectorSummary(CustomerConnectorInfo.builder().applyMutation(connectorSummary).build()); } }
/** * <p> * Details about discovered connectors, including connector status and health. * </p> * This is a convenience that creates an instance of the {@link CustomerConnectorInfo.Builder} avoiding the need * to create one manually via {@link CustomerConnectorInfo#builder()}. * * When the {@link Consumer} completes, {@link CustomerConnectorInfo.Builder#build()} is called immediately and * its result is passed to {@link #connectorSummary(CustomerConnectorInfo)}. * * @param connectorSummary * a consumer that will call methods on {@link CustomerConnectorInfo.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #connectorSummary(CustomerConnectorInfo) */ default Builder connectorSummary(Consumer<CustomerConnectorInfo.Builder> connectorSummary) { return connectorSummary(CustomerConnectorInfo.builder().applyMutation(connectorSummary).build()); } }
/** * <p> * Details about discovered agents, including agent status and health. * </p> * This is a convenience that creates an instance of the {@link CustomerAgentInfo.Builder} avoiding the need to * create one manually via {@link CustomerAgentInfo#builder()}. * * When the {@link Consumer} completes, {@link CustomerAgentInfo.Builder#build()} is called immediately and its * result is passed to {@link #agentSummary(CustomerAgentInfo)}. * * @param agentSummary * a consumer that will call methods on {@link CustomerAgentInfo.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #agentSummary(CustomerAgentInfo) */ default Builder agentSummary(Consumer<CustomerAgentInfo.Builder> agentSummary) { return agentSummary(CustomerAgentInfo.builder().applyMutation(agentSummary).build()); }