Class IndicesOptions.Builder
java.lang.Object
co.elastic.clients.elasticsearch.watcher.IndicesOptions.Builder
- All Implemented Interfaces:
ObjectBuilder<IndicesOptions>
- Enclosing class:
- IndicesOptions
public static class IndicesOptions.Builder extends java.lang.Object implements ObjectBuilder<IndicesOptions>
Builder for
IndicesOptions
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IndicesOptions.Builder
addExpandWildcards(ExpandWildcardOptions value)
Add a value toexpandWildcards(List)
, creating the list if needed.IndicesOptions.Builder
allowNoIndices(java.lang.Boolean value)
API name:allow_no_indices
IndicesOptions
build()
Builds aIndicesOptions
.IndicesOptions.Builder
expandWildcards(ExpandWildcardOptions... value)
API name:expand_wildcards
IndicesOptions.Builder
expandWildcards(java.util.List<ExpandWildcardOptions> value)
API name:expand_wildcards
IndicesOptions.Builder
ignoreThrottled(java.lang.Boolean value)
API name:ignore_throttled
IndicesOptions.Builder
ignoreUnavailable(java.lang.Boolean value)
API name:ignore_unavailable
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
-
allowNoIndices
API name:allow_no_indices
-
expandWildcards
public IndicesOptions.Builder expandWildcards(@Nullable java.util.List<ExpandWildcardOptions> value)API name:expand_wildcards
-
expandWildcards
API name:expand_wildcards
-
addExpandWildcards
Add a value toexpandWildcards(List)
, creating the list if needed. -
ignoreThrottled
API name:ignore_throttled
-
build
Builds aIndicesOptions
.- Specified by:
build
in interfaceObjectBuilder<IndicesOptions>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-