Class GetLicenseRequest.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • acceptEnterprise

      @Deprecated public final GetLicenseRequest.Builder acceptEnterprise​(@Nullable java.lang.Boolean value)
      Deprecated.
      7.6.0
      If true, this parameter returns enterprise for Enterprise license types. If false, this parameter returns platinum for both platinum and enterprise license types. This behavior is maintained for backwards compatibility. This parameter is deprecated and will always be set to true in 8.x.

      API name: accept_enterprise

    • local

      public final GetLicenseRequest.Builder local​(@Nullable java.lang.Boolean value)
      Specifies whether to retrieve local information. The default value is false, which means the information is retrieved from the master node.

      API name: local

    • self

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

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