Class SoftDeletesRetention.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.SoftDeletesRetention.Builder
- All Implemented Interfaces:
CopyableBuilder<SoftDeletesRetention.Builder,,SoftDeletesRetention> MutableBuilder<SoftDeletesRetention.Builder,,SoftDeletesRetention> ObjectBuilder<SoftDeletesRetention>
- Enclosing class:
SoftDeletesRetention
public static class SoftDeletesRetention.Builder
extends ObjectBuilderBase
implements CopyableBuilder<SoftDeletesRetention.Builder,SoftDeletesRetention>
Builder for
SoftDeletesRetention.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSoftDeletesRetention.copy()Create a new builderCopyableBuilderthat is a copy of this one.operations(Long value) API name:operationsMethods 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<SoftDeletesRetention.Builder,SoftDeletesRetention> - Returns:
- a new builder instance.
-
operations
API name:operations -
build
Builds aSoftDeletesRetention.- Specified by:
buildin interfaceObjectBuilder<SoftDeletesRetention>- Throws:
NullPointerException- if some of the required fields are null.
-