Class CreateResponse.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.WriteResponseBase.AbstractBuilder<CreateResponse.Builder>
-
- org.opensearch.client.opensearch.core.CreateResponse.Builder
-
- All Implemented Interfaces:
ObjectBuilder<CreateResponse>
- Enclosing class:
- CreateResponse
public static class CreateResponse.Builder extends WriteResponseBase.AbstractBuilder<CreateResponse.Builder> implements ObjectBuilder<CreateResponse>
Builder forCreateResponse.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateResponsebuild()Builds aCreateResponse.protected CreateResponse.Builderself()-
Methods inherited from class org.opensearch.client.opensearch._types.WriteResponseBase.AbstractBuilder
forcedRefresh, id, index, primaryTerm, result, seqNo, shards, shards, version
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected CreateResponse.Builder self()
- Specified by:
selfin classWriteResponseBase.AbstractBuilder<CreateResponse.Builder>
-
build
public CreateResponse build()
Builds aCreateResponse.- Specified by:
buildin interfaceObjectBuilder<CreateResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-