Class ResolveIndexRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ResolveIndexRequest.Builder>
co.elastic.clients.elasticsearch.indices.ResolveIndexRequest.Builder
- All Implemented Interfaces:
WithJson<ResolveIndexRequest.Builder>
,ObjectBuilder<ResolveIndexRequest>
- Enclosing class:
- ResolveIndexRequest
public static class ResolveIndexRequest.Builder
extends RequestBase.AbstractBuilder<ResolveIndexRequest.Builder>
implements ObjectBuilder<ResolveIndexRequest>
Builder for
ResolveIndexRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aResolveIndexRequest
.expandWildcards
(ExpandWildcard value, ExpandWildcard... values) Type of index that wildcard patterns can match.expandWildcards
(List<ExpandWildcard> list) Type of index that wildcard patterns can match.Required - Comma-separated name(s) or index pattern(s) of the indices, aliases, and data streams to resolve.Required - Comma-separated name(s) or index pattern(s) of the indices, aliases, and data streams to resolve.protected ResolveIndexRequest.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expandWildcards
Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such asopen,hidden
. Valid values are:all
,open
,closed
,hidden
,none
.API name:
expand_wildcards
Adds all elements of
list
toexpandWildcards
. -
expandWildcards
public final ResolveIndexRequest.Builder expandWildcards(ExpandWildcard value, ExpandWildcard... values) Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such asopen,hidden
. Valid values are:all
,open
,closed
,hidden
,none
.API name:
expand_wildcards
Adds one or more values to
expandWildcards
. -
name
Required - Comma-separated name(s) or index pattern(s) of the indices, aliases, and data streams to resolve. Resources on remote clusters can be specified using the<cluster>
:<name>
syntax.API name:
name
Adds all elements of
list
toname
. -
name
Required - Comma-separated name(s) or index pattern(s) of the indices, aliases, and data streams to resolve. Resources on remote clusters can be specified using the<cluster>
:<name>
syntax.API name:
name
Adds one or more values to
name
. -
self
- Specified by:
self
in classRequestBase.AbstractBuilder<ResolveIndexRequest.Builder>
-
build
Builds aResolveIndexRequest
.- Specified by:
build
in interfaceObjectBuilder<ResolveIndexRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-