Class GetLicenseResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.license.GetLicenseResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<GetLicenseResponse>
- Enclosing class:
- GetLicenseResponse
public static class GetLicenseResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<GetLicenseResponse>
Builder for
GetLicenseResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetLicenseResponsebuild()Builds aGetLicenseResponse.GetLicenseResponse.Builderlicense(LicenseInformation value)Required - API name:licenseGetLicenseResponse.Builderlicense(java.util.function.Function<LicenseInformation.Builder,ObjectBuilder<LicenseInformation>> fn)Required - API name:licenseMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
license
Required - API name:license -
license
public final GetLicenseResponse.Builder license(java.util.function.Function<LicenseInformation.Builder,ObjectBuilder<LicenseInformation>> fn)Required - API name:license -
build
Builds aGetLicenseResponse.- Specified by:
buildin interfaceObjectBuilder<GetLicenseResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-