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.Builderadvanced(FeatureEnabled value) Indicates whether advanced sync rules are enabled.final SyncRulesFeature.BuilderIndicates whether advanced sync rules are enabled.final SyncRulesFeature.Builderbasic(FeatureEnabled value) Indicates whether basic sync rules are enabled.final SyncRulesFeature.BuilderIndicates whether basic sync rules are enabled.build()Builds aSyncRulesFeature.protected SyncRulesFeature.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<SyncRulesFeature.Builder>
-
build
Builds aSyncRulesFeature.- Specified by:
buildin interfaceObjectBuilder<SyncRulesFeature>- Throws:
NullPointerException- if some of the required fields are null.
-