Class GetTemplateResponse.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.transport.endpoints.DictionaryResponse.AbstractBuilder<java.lang.String,TemplateMapping,GetTemplateResponse.Builder>
-
- org.opensearch.client.opensearch.indices.GetTemplateResponse.Builder
-
- All Implemented Interfaces:
ObjectBuilder<GetTemplateResponse>
- Enclosing class:
- GetTemplateResponse
public static class GetTemplateResponse.Builder extends DictionaryResponse.AbstractBuilder<java.lang.String,TemplateMapping,GetTemplateResponse.Builder> implements ObjectBuilder<GetTemplateResponse>
Builder forGetTemplateResponse
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTemplateResponse
build()
Builds aGetTemplateResponse
.protected GetTemplateResponse.Builder
self()
-
Methods inherited from class org.opensearch.client.transport.endpoints.DictionaryResponse.AbstractBuilder
putResult, result, tKeySerializer, tValueSerializer
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected GetTemplateResponse.Builder self()
- Specified by:
self
in classDictionaryResponse.AbstractBuilder<java.lang.String,TemplateMapping,GetTemplateResponse.Builder>
-
build
public GetTemplateResponse build()
Builds aGetTemplateResponse
.- Specified by:
build
in interfaceObjectBuilder<GetTemplateResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-