Class PitRecord.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.core.pit.PitRecord.Builder
-
- All Implemented Interfaces:
ObjectBuilder<PitRecord>
- Enclosing class:
- PitRecord
public static class PitRecord.Builder extends ObjectBuilderBase implements ObjectBuilder<PitRecord>
Builder forPitRecord
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PitRecord
build()
Builds aPitRecord
.PitRecord.Builder
creationTime(java.lang.Long creationTime)
API name:creation_time
PitRecord.Builder
keepAlive(java.lang.Long keepAlive)
API name:keep_alive
PitRecord.Builder
pitId(java.lang.String pitId)
API name:pit_id
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
pitId
public final PitRecord.Builder pitId(java.lang.String pitId)
API name:pit_id
-
creationTime
public final PitRecord.Builder creationTime(java.lang.Long creationTime)
API name:creation_time
-
keepAlive
public final PitRecord.Builder keepAlive(java.lang.Long keepAlive)
API name:keep_alive
-
build
public PitRecord build()
Builds aPitRecord
.- Specified by:
build
in interfaceObjectBuilder<PitRecord>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-