Class PitDetail.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.core.pit.PitDetail.Builder
- All Implemented Interfaces:
CopyableBuilder<PitDetail.Builder,,PitDetail> MutableBuilder<PitDetail.Builder,,PitDetail> ObjectBuilder<PitDetail>
- Enclosing class:
PitDetail
public static class PitDetail.Builder
extends ObjectBuilderBase
implements CopyableBuilder<PitDetail.Builder,PitDetail>
Builder for
PitDetail.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPitDetail.copy()Create a new builderCopyableBuilderthat is a copy of this one.final PitDetail.BuildercreationTime(Long value) API name:creation_timefinal PitDetail.BuilderAPI name:keep_alivefinal PitDetail.BuilderAPI name:pit_idMethods 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<PitDetail.Builder,PitDetail> - Returns:
- a new builder instance.
-
creationTime
API name:creation_time -
keepAlive
API name:keep_alive -
pitId
API name:pit_id -
build
Builds aPitDetail.- Specified by:
buildin interfaceObjectBuilder<PitDetail>- Throws:
NullPointerException- if some of the required fields are null.
-