Class RepositoryVerifyIntegrityResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RepositoryVerifyIntegrityResponse.Builder>
co.elastic.clients.elasticsearch.snapshot.RepositoryVerifyIntegrityResponse.Builder
- All Implemented Interfaces:
- WithJson<RepositoryVerifyIntegrityResponse.Builder>,- ObjectBuilder<RepositoryVerifyIntegrityResponse>
- Enclosing class:
- RepositoryVerifyIntegrityResponse
public static class RepositoryVerifyIntegrityResponse.Builder
extends WithJsonObjectBuilderBase<RepositoryVerifyIntegrityResponse.Builder>
implements ObjectBuilder<RepositoryVerifyIntegrityResponse>
Builder for 
RepositoryVerifyIntegrityResponse.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aRepositoryVerifyIntegrityResponse.Required - Response value.self()withJson(jakarta.json.stream.JsonParser parser, JsonpMapper mapper) Sets additional properties values on this object by reading from a JSON input.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
resultRequired - Response value.
- 
withJsonpublic RepositoryVerifyIntegrityResponse.Builder withJson(jakarta.json.stream.JsonParser parser, JsonpMapper mapper) Description copied from interface:WithJsonSets additional properties values on this object by reading from a JSON input.This is a "partial deserialization": properties that were already set keep their value if they're not present in the JSON input, and properties can also be set after having called this method, including overriding those read from the JSON input. This low level variant of withJsongives full control on the json parser and object mapper. Most of the time usingWithJson.withJson(Reader)andWithJson.withJson(InputStream)will be more convenient.- Specified by:
- withJsonin interface- WithJson<RepositoryVerifyIntegrityResponse.Builder>
- Overrides:
- withJsonin class- WithJsonObjectBuilderBase<RepositoryVerifyIntegrityResponse.Builder>
- Parameters:
- parser- the JSONP parser
- mapper- the JSONP mapper used to deserialize values and nested objects
- Returns:
- this object
 
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<RepositoryVerifyIntegrityResponse.Builder>
 
- 
buildBuilds aRepositoryVerifyIntegrityResponse.- Specified by:
- buildin interface- ObjectBuilder<RepositoryVerifyIntegrityResponse>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-