Class NodesUsageRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • metric

        public final NodesUsageRequest.Builder metric​(java.util.List<java.lang.String> list)
        Limit the information returned to the specified metrics

        API name: metric

        Adds all elements of list to metric.

      • metric

        public final NodesUsageRequest.Builder metric​(java.lang.String value,
                                                      java.lang.String... values)
        Limit the information returned to the specified metrics

        API name: metric

        Adds one or more values to metric.

      • nodeId

        public final NodesUsageRequest.Builder nodeId​(java.util.List<java.lang.String> list)
        A comma-separated list of node IDs or names to limit the returned information; use _local to return information from the node you're connecting to, leave empty to get information from all nodes

        API name: node_id

        Adds all elements of list to nodeId.

      • nodeId

        public final NodesUsageRequest.Builder nodeId​(java.lang.String value,
                                                      java.lang.String... values)
        A comma-separated list of node IDs or names to limit the returned information; use _local to return information from the node you're connecting to, leave empty to get information from all nodes

        API name: node_id

        Adds one or more values to nodeId.