Class GetResponse.Builder
java.lang.Object
co.elastic.clients.base.DictionaryResponse.AbstractBuilder<java.lang.String,IndexState,GetResponse.Builder>
co.elastic.clients.elasticsearch.indices.GetResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<GetResponse>
- Enclosing class:
- GetResponse
public static class GetResponse.Builder extends DictionaryResponse.AbstractBuilder<java.lang.String,IndexState,GetResponse.Builder> implements ObjectBuilder<GetResponse>
Builder for
GetResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetResponsebuild()Builds aGetResponse.protected GetResponse.Builderself()Methods inherited from class co.elastic.clients.base.DictionaryResponse.AbstractBuilder
putResult, result, tKeySerializer, tValueSerializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
selfin classDictionaryResponse.AbstractBuilder<java.lang.String,IndexState,GetResponse.Builder>
-
build
Builds aGetResponse.- Specified by:
buildin interfaceObjectBuilder<GetResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-