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 GetResponse
build()
Builds aGetResponse
.protected GetResponse.Builder
self()
Methods inherited from class co.elastic.clients.base.DictionaryResponse.AbstractBuilder
putResult, result, tKeySerializer, tValueSerializer
Methods 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:
self
in classDictionaryResponse.AbstractBuilder<java.lang.String,IndexState,GetResponse.Builder>
-
build
Builds aGetResponse
.- Specified by:
build
in interfaceObjectBuilder<GetResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-