Class VerifyRepositoryResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<VerifyRepositoryResponse.Builder>
co.elastic.clients.elasticsearch.snapshot.VerifyRepositoryResponse.Builder
- All Implemented Interfaces:
- WithJson<VerifyRepositoryResponse.Builder>,- ObjectBuilder<VerifyRepositoryResponse>
- Enclosing class:
- VerifyRepositoryResponse
public static class VerifyRepositoryResponse.Builder
extends WithJsonObjectBuilderBase<VerifyRepositoryResponse.Builder>
implements ObjectBuilder<VerifyRepositoryResponse>
Builder for 
VerifyRepositoryResponse.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aVerifyRepositoryResponse.nodes(String key, CompactNodeInfo value) Required - Information about the nodes connected to the snapshot repository.Required - Information about the nodes connected to the snapshot repository.nodes(Map<String, CompactNodeInfo> map) Required - Information about the nodes connected to the snapshot repository.protected VerifyRepositoryResponse.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
nodesRequired - Information about the nodes connected to the snapshot repository. The key is the ID of the node.API name: nodesAdds all entries of maptonodes.
- 
nodesRequired - Information about the nodes connected to the snapshot repository. The key is the ID of the node.API name: nodesAdds an entry to nodes.
- 
nodespublic final VerifyRepositoryResponse.Builder nodes(String key, Function<CompactNodeInfo.Builder, ObjectBuilder<CompactNodeInfo>> fn) Required - Information about the nodes connected to the snapshot repository. The key is the ID of the node.API name: nodesAdds an entry to nodesusing a builder lambda.
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<VerifyRepositoryResponse.Builder>
 
- 
buildBuilds aVerifyRepositoryResponse.- Specified by:
- buildin interface- ObjectBuilder<VerifyRepositoryResponse>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-