Class ClusterNetworkTypes.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ClusterNetworkTypes.Builder>
co.elastic.clients.elasticsearch.cluster.stats.ClusterNetworkTypes.Builder
- All Implemented Interfaces:
WithJson<ClusterNetworkTypes.Builder>,ObjectBuilder<ClusterNetworkTypes>
- Enclosing class:
- ClusterNetworkTypes
public static class ClusterNetworkTypes.Builder
extends WithJsonObjectBuilderBase<ClusterNetworkTypes.Builder>
implements ObjectBuilder<ClusterNetworkTypes>
Builder for
ClusterNetworkTypes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aClusterNetworkTypes.Required - Contains statistics about the HTTP network types used by selected nodes.Required - Contains statistics about the HTTP network types used by selected nodes.protected ClusterNetworkTypes.Builderself()transportTypes(String key, Integer value) Required - Contains statistics about the transport network types used by selected nodes.transportTypes(Map<String, Integer> map) Required - Contains statistics about the transport network types used by selected nodes.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpTypes
Required - Contains statistics about the HTTP network types used by selected nodes.API name:
http_typesAdds all entries of
maptohttpTypes. -
httpTypes
Required - Contains statistics about the HTTP network types used by selected nodes.API name:
http_typesAdds an entry to
httpTypes. -
transportTypes
Required - Contains statistics about the transport network types used by selected nodes.API name:
transport_typesAdds all entries of
maptotransportTypes. -
transportTypes
Required - Contains statistics about the transport network types used by selected nodes.API name:
transport_typesAdds an entry to
transportTypes. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ClusterNetworkTypes.Builder>
-
build
Builds aClusterNetworkTypes.- Specified by:
buildin interfaceObjectBuilder<ClusterNetworkTypes>- Throws:
NullPointerException- if some of the required fields are null.
-