if (context.testExpression("activeConnectors", targetDepth)) { context.nextToken(); customerConnectorInfoBuilder.activeConnectors(context.getUnmarshaller(Integer.class).unmarshall(context)); customerConnectorInfoBuilder.healthyConnectors(context.getUnmarshaller(Integer.class).unmarshall(context)); .blackListedConnectors(context.getUnmarshaller(Integer.class).unmarshall(context)); customerConnectorInfoBuilder.shutdownConnectors(context.getUnmarshaller(Integer.class).unmarshall(context)); customerConnectorInfoBuilder.unhealthyConnectors(context.getUnmarshaller(Integer.class).unmarshall(context)); customerConnectorInfoBuilder.totalConnectors(context.getUnmarshaller(Integer.class).unmarshall(context)); customerConnectorInfoBuilder.unknownConnectors(context.getUnmarshaller(Integer.class).unmarshall(context)); return customerConnectorInfoBuilder.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()); } }