Class PluginStats.Builder

All Implemented Interfaces:
Enclosing class:

public static class PluginStats.Builder
extends ObjectBuilderBase
implements ObjectBuilder<PluginStats>
Builder for PluginStats.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • classname

      public final PluginStats.Builder classname​(java.lang.String value)
      Required - API name: classname
    • description

      public final PluginStats.Builder description​(java.lang.String value)
      Required - API name: description
    • elasticsearchVersion

      public final PluginStats.Builder elasticsearchVersion​(java.lang.String value)
      Required - API name: elasticsearch_version
    • extendedPlugins

      public final PluginStats.Builder extendedPlugins​(java.util.List<java.lang.String> list)
      Required - API name: extended_plugins

      Adds all elements of list to extendedPlugins.

    • extendedPlugins

      public final PluginStats.Builder extendedPlugins​(java.lang.String value, java.lang.String... values)
      Required - API name: extended_plugins

      Adds one or more values to extendedPlugins.

    • hasNativeController

      public final PluginStats.Builder hasNativeController​(boolean value)
      Required - API name: has_native_controller
    • javaVersion

      public final PluginStats.Builder javaVersion​(java.lang.String value)
      Required - API name: java_version
    • name

      public final PluginStats.Builder name​(java.lang.String value)
      Required - API name: name
    • version

      public final PluginStats.Builder version​(java.lang.String value)
      Required - API name: version
    • licensed

      public final PluginStats.Builder licensed​(boolean value)
      Required - API name: licensed
    • type

      public final PluginStats.Builder type​(java.lang.String value)
      Required - API name: type
    • build

      public PluginStats build()
      Builds a PluginStats.
      Specified by:
      build in interface ObjectBuilder<PluginStats>
      java.lang.NullPointerException - if some of the required fields are null.