Class DeletePitRecord.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.core.pit.DeletePitRecord.Builder
-
- All Implemented Interfaces:
ObjectBuilder<DeletePitRecord>
- Enclosing class:
- DeletePitRecord
public static class DeletePitRecord.Builder extends ObjectBuilderBase implements ObjectBuilder<DeletePitRecord>
Builder forDeletePitRecord.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeletePitRecordbuild()Builds aDeletePitRecord.DeletePitRecord.BuilderpitId(java.lang.String pitId)API name:pit_idDeletePitRecord.Buildersuccessful(java.lang.Boolean successful)API name:successful-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
pitId
public final DeletePitRecord.Builder pitId(java.lang.String pitId)
API name:pit_id
-
successful
public final DeletePitRecord.Builder successful(java.lang.Boolean successful)
API name:successful
-
build
public DeletePitRecord build()
Builds aDeletePitRecord.- Specified by:
buildin interfaceObjectBuilder<DeletePitRecord>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-