Class SyncRulesFeature.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SyncRulesFeature.Builder>
co.elastic.clients.elasticsearch.connector.SyncRulesFeature.Builder
- All Implemented Interfaces:
WithJson<SyncRulesFeature.Builder>
,ObjectBuilder<SyncRulesFeature>
- Enclosing class:
- SyncRulesFeature
public static class SyncRulesFeature.Builder
extends WithJsonObjectBuilderBase<SyncRulesFeature.Builder>
implements ObjectBuilder<SyncRulesFeature>
Builder for
SyncRulesFeature
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal SyncRulesFeature.Builder
advanced
(FeatureEnabled value) Indicates whether advanced sync rules are enabled.final SyncRulesFeature.Builder
Indicates whether advanced sync rules are enabled.final SyncRulesFeature.Builder
basic
(FeatureEnabled value) Indicates whether basic sync rules are enabled.final SyncRulesFeature.Builder
Indicates whether basic sync rules are enabled.build()
Builds aSyncRulesFeature
.protected SyncRulesFeature.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
-
advanced
Indicates whether advanced sync rules are enabled.API name:
advanced
-
advanced
public final SyncRulesFeature.Builder advanced(Function<FeatureEnabled.Builder, ObjectBuilder<FeatureEnabled>> fn) Indicates whether advanced sync rules are enabled.API name:
advanced
-
basic
Indicates whether basic sync rules are enabled.API name:
basic
-
basic
public final SyncRulesFeature.Builder basic(Function<FeatureEnabled.Builder, ObjectBuilder<FeatureEnabled>> fn) Indicates whether basic sync rules are enabled.API name:
basic
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<SyncRulesFeature.Builder>
-
build
Builds aSyncRulesFeature
.- Specified by:
build
in interfaceObjectBuilder<SyncRulesFeature>
- Throws:
NullPointerException
- if some of the required fields are null.
-