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 DeletePitRecord
build()
Builds aDeletePitRecord
.DeletePitRecord.Builder
pitId(java.lang.String pitId)
API name:pit_id
DeletePitRecord.Builder
successful(java.lang.Boolean successful)
API name:successful
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _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:
build
in interfaceObjectBuilder<DeletePitRecord>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-