Class XpackInfoRequest.Builder

All Implemented Interfaces:
WithJson<XpackInfoRequest.Builder>, ObjectBuilder<XpackInfoRequest>
Enclosing class:
XpackInfoRequest

public static class XpackInfoRequest.Builder
extends RequestBase.AbstractBuilder<XpackInfoRequest.Builder>
implements ObjectBuilder<XpackInfoRequest>
Builder for XpackInfoRequest.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • acceptEnterprise

      public final XpackInfoRequest.Builder acceptEnterprise​(@Nullable java.lang.Boolean value)
      If this param is used it must be set to true

      API name: accept_enterprise

    • categories

      public final XpackInfoRequest.Builder categories​(java.util.List<java.lang.String> list)
      A comma-separated list of the information categories to include in the response. For example, build,license,features.

      API name: categories

      Adds all elements of list to categories.

    • categories

      public final XpackInfoRequest.Builder categories​(java.lang.String value, java.lang.String... values)
      A comma-separated list of the information categories to include in the response. For example, build,license,features.

      API name: categories

      Adds one or more values to categories.

    • human

      public final XpackInfoRequest.Builder human​(@Nullable java.lang.Boolean value)
      Defines whether additional human-readable information is included in the response. In particular, it adds descriptions and a tag line.

      API name: human

    • self

      protected XpackInfoRequest.Builder self()
      Specified by:
      self in class RequestBase.AbstractBuilder<XpackInfoRequest.Builder>
    • build

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