Class SearchResponse.Cluster.Builder

java.lang.Object
org.elasticsearch.action.search.SearchResponse.Cluster.Builder
Enclosing class:
SearchResponse.Cluster

public static class SearchResponse.Cluster.Builder extends Object
Since the Cluster object is immutable, use this Builder class to create a new Cluster object using the "copyFrom" Cluster passed in and set only changed values. Since the clusterAlias, indexExpression and skipUnavailable fields are never changed once set, this Builder provides no setter method for them. All other fields can be set and override the value in the "copyFrom" Cluster.