Class GetStatsResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GetStatsResponse.Builder>
co.elastic.clients.elasticsearch.security.GetStatsResponse.Builder
- All Implemented Interfaces:
- WithJson<GetStatsResponse.Builder>,- ObjectBuilder<GetStatsResponse>
- Enclosing class:
- GetStatsResponse
public static class GetStatsResponse.Builder
extends WithJsonObjectBuilderBase<GetStatsResponse.Builder>
implements ObjectBuilder<GetStatsResponse>
Builder for 
GetStatsResponse.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aGetStatsResponse.final GetStatsResponse.Buildernodes(String key, NodeSecurityStats value) Required - A map of node IDs to security statistics for that node.final GetStatsResponse.BuilderRequired - A map of node IDs to security statistics for that node.final GetStatsResponse.Buildernodes(Map<String, NodeSecurityStats> map) Required - A map of node IDs to security statistics for that node.protected GetStatsResponse.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 - A map of node IDs to security statistics for that node.API name: nodesAdds all entries of maptonodes.
- 
nodesRequired - A map of node IDs to security statistics for that node.API name: nodesAdds an entry to nodes.
- 
nodespublic final GetStatsResponse.Builder nodes(String key, Function<NodeSecurityStats.Builder, ObjectBuilder<NodeSecurityStats>> fn) Required - A map of node IDs to security statistics for that node.API name: nodesAdds an entry to nodesusing a builder lambda.
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<GetStatsResponse.Builder>
 
- 
buildBuilds aGetStatsResponse.- Specified by:
- buildin interface- ObjectBuilder<GetStatsResponse>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-