Class Ccr.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.xpack.usage.Base.AbstractBuilder<Ccr.Builder>
co.elastic.clients.elasticsearch.xpack.usage.Ccr.Builder
- All Implemented Interfaces:
WithJson<Ccr.Builder>
,ObjectBuilder<Ccr>
- Enclosing class:
- Ccr
public static class Ccr.Builder
extends Base.AbstractBuilder<Ccr.Builder>
implements ObjectBuilder<Ccr>
Builder for
Ccr
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Ccr.Builder
autoFollowPatternsCount
(int value) Required - API name:auto_follow_patterns_count
build()
Builds aCcr
.final Ccr.Builder
followerIndicesCount
(int value) Required - API name:follower_indices_count
protected Ccr.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch.xpack.usage.Base.AbstractBuilder
available, enabled
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
-
autoFollowPatternsCount
Required - API name:auto_follow_patterns_count
-
followerIndicesCount
Required - API name:follower_indices_count
-
self
- Specified by:
self
in classBase.AbstractBuilder<Ccr.Builder>
-
build
Builds aCcr
.- Specified by:
build
in interfaceObjectBuilder<Ccr>
- Throws:
NullPointerException
- if some of the required fields are null.
-