Class IndexVersioning.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexVersioning.Builder>
co.elastic.clients.elasticsearch.indices.IndexVersioning.Builder
- All Implemented Interfaces:
WithJson<IndexVersioning.Builder>
,ObjectBuilder<IndexVersioning>
- Enclosing class:
- IndexVersioning
public static class IndexVersioning.Builder extends WithJsonObjectBuilderBase<IndexVersioning.Builder> implements ObjectBuilder<IndexVersioning>
Builder for
IndexVersioning
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IndexVersioning
build()
Builds aIndexVersioning
.IndexVersioning.Builder
created(java.lang.String value)
API name:created
IndexVersioning.Builder
createdString(java.lang.String value)
API name:created_string
protected IndexVersioning.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
-
created
API name:created
-
createdString
API name:created_string
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<IndexVersioning.Builder>
-
build
Builds aIndexVersioning
.- Specified by:
build
in interfaceObjectBuilder<IndexVersioning>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-