return fromJson(node, new IndexerDefinitionBuilder());
}
public IndexerDefinitionBuilder fromJson(ObjectNode node, IndexerDefinitionBuilder indexerDefinitionBuilder) {
String name = JsonUtil.getString(node, "name");
LifecycleState lifecycleState = LifecycleState.valueOf(JsonUtil.getString(node, "lifecycleState"));
IncrementalIndexingState incrementalIndexingState =
IncrementalIndexingState.valueOf(JsonUtil.getString(node, "incrementalIndexingState"));
BatchIndexingState batchIndexingState = BatchIndexingState.valueOf(JsonUtil.getString(node, "batchIndexingState"));
String queueSubscriptionId = JsonUtil.getString(node, "subscriptionId", null);