Module org.elasticsearch.xcore
Class ResolvedIndices.Builder
java.lang.Object
org.elasticsearch.xpack.core.security.authz.ResolvedIndices.Builder
- Enclosing class:
ResolvedIndices
Builder class for ResolvedIndices that allows for the building of a list of indices
without the need to construct new objects and merging them together
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addLocal
add a local index name -
addLocal
adds the array of local index names -
addLocal
adds the list of local index names -
addRemote
adds the list of remote index names -
isEmpty
public boolean isEmpty()- Returns:
trueif both the local and remote index lists are empty.
-
build
- Returns:
- a immutable ResolvedIndices instance with the local and remote index lists
-