Class Overlapping.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Overlapping.Builder>
co.elastic.clients.elasticsearch.indices.simulate_template.Overlapping.Builder
- All Implemented Interfaces:
WithJson<Overlapping.Builder>
,ObjectBuilder<Overlapping>
- Enclosing class:
- Overlapping
public static class Overlapping.Builder extends WithJsonObjectBuilderBase<Overlapping.Builder> implements ObjectBuilder<Overlapping>
Builder for
Overlapping
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Overlapping
build()
Builds aOverlapping
.Overlapping.Builder
indexPatterns(java.lang.String value, java.lang.String... values)
Required - API name:index_patterns
Overlapping.Builder
indexPatterns(java.util.List<java.lang.String> list)
Required - API name:index_patterns
Overlapping.Builder
name(java.lang.String value)
Required - API name:name
protected Overlapping.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
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
-
name
Required - API name:name
-
indexPatterns
Required - API name:index_patterns
Adds all elements of
list
toindexPatterns
. -
indexPatterns
Required - API name:index_patterns
Adds one or more values to
indexPatterns
. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Overlapping.Builder>
-
build
Builds aOverlapping
.- Specified by:
build
in interfaceObjectBuilder<Overlapping>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-