Class ExistsRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.indices.ExistsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<ExistsRequest>
- Enclosing class:
- ExistsRequest
public static class ExistsRequest.Builder extends java.lang.Object implements ObjectBuilder<ExistsRequest>
Builder for
ExistsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ExistsRequest.BuilderaddExpandWildcards(ExpandWildcardOptions value)Add a value toexpandWildcards(List), creating the list if needed.ExistsRequest.BuilderaddIndex(java.lang.String value)Add a value toindex(List), creating the list if needed.ExistsRequest.BuilderallowNoIndices(java.lang.Boolean value)Ignore if a wildcard expression resolves to no concrete indices (default: false)ExistsRequestbuild()Builds aExistsRequest.ExistsRequest.BuilderexpandWildcards(ExpandWildcardOptions... value)Whether wildcard expressions should get expanded to open or closed indices (default: open)ExistsRequest.BuilderexpandWildcards(java.util.List<ExpandWildcardOptions> value)Whether wildcard expressions should get expanded to open or closed indices (default: open)ExistsRequest.BuilderflatSettings(java.lang.Boolean value)Return settings in flat format (default: false)ExistsRequest.BuilderignoreUnavailable(java.lang.Boolean value)Ignore unavailable indexes (default: false)ExistsRequest.BuilderincludeDefaults(java.lang.Boolean value)Whether to return all default setting for each of the indices.ExistsRequest.Builderindex(java.lang.String... value)A comma-separated list of index namesExistsRequest.Builderindex(java.util.List<java.lang.String> value)A comma-separated list of index namesExistsRequest.Builderlocal(java.lang.Boolean value)Return local information, do not retrieve the state from master node (default: false)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
A comma-separated list of index namesAPI name:
index -
index
A comma-separated list of index namesAPI name:
index -
addIndex
Add a value toindex(List), creating the list if needed. 4 -
allowNoIndices
Ignore if a wildcard expression resolves to no concrete indices (default: false)API name:
allow_no_indices -
expandWildcards
public ExistsRequest.Builder expandWildcards(@Nullable java.util.List<ExpandWildcardOptions> value)Whether wildcard expressions should get expanded to open or closed indices (default: open)API name:
expand_wildcards -
expandWildcards
Whether wildcard expressions should get expanded to open or closed indices (default: open)API name:
expand_wildcards -
addExpandWildcards
Add a value toexpandWildcards(List), creating the list if needed. 4 -
flatSettings
Return settings in flat format (default: false)API name:
flat_settings -
includeDefaults
Whether to return all default setting for each of the indices.API name:
include_defaults -
local
Return local information, do not retrieve the state from master node (default: false)API name:
local -
build
Builds aExistsRequest.- Specified by:
buildin interfaceObjectBuilder<ExistsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-