Class TranslogRetention.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.TranslogRetention.Builder
- All Implemented Interfaces:
CopyableBuilder<TranslogRetention.Builder,,TranslogRetention> MutableBuilder<TranslogRetention.Builder,,TranslogRetention> ObjectBuilder<TranslogRetention>
- Enclosing class:
TranslogRetention
public static class TranslogRetention.Builder
extends ObjectBuilderBase
implements CopyableBuilder<TranslogRetention.Builder,TranslogRetention>
Builder for
TranslogRetention.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionage(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:ageAPI name:agebuild()Builds aTranslogRetention.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:sizeMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<TranslogRetention.Builder,TranslogRetention> - Returns:
- a new builder instance.
-
age
API name:age -
age
API name:age -
size
API name:size -
build
Builds aTranslogRetention.- Specified by:
buildin interfaceObjectBuilder<TranslogRetention>- Throws:
NullPointerException- if some of the required fields are null.
-