Class Translog.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.indices.Translog.Builder
-
- All Implemented Interfaces:
ObjectBuilder<Translog>
- Enclosing class:
- Translog
public static class Translog.Builder extends ObjectBuilderBase implements ObjectBuilder<Translog>
Builder forTranslog.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Translogbuild()Builds aTranslog.Translog.Builderdurability(java.lang.String value)API name:durabilityTranslog.BuilderflushThresholdSize(java.lang.String value)API name:flush_threshold_sizeTranslog.BuildersyncInterval(Time value)API name:sync_interval-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
durability
public final Translog.Builder durability(@Nullable java.lang.String value)
API name:durability
-
flushThresholdSize
public final Translog.Builder flushThresholdSize(@Nullable java.lang.String value)
API name:flush_threshold_size
-
syncInterval
public final Translog.Builder syncInterval(@Nullable Time value)
API name:sync_interval
-
build
public Translog build()
Builds aTranslog.- Specified by:
buildin interfaceObjectBuilder<Translog>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-