Class GetLicenseResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GetLicenseResponse.Builder>
co.elastic.clients.elasticsearch.license.GetLicenseResponse.Builder
- All Implemented Interfaces:
WithJson<GetLicenseResponse.Builder>,ObjectBuilder<GetLicenseResponse>
- Enclosing class:
- GetLicenseResponse
public static class GetLicenseResponse.Builder extends WithJsonObjectBuilderBase<GetLicenseResponse.Builder> 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:licenseprotected GetLicenseResponse.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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 -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<GetLicenseResponse.Builder>
-
build
Builds aGetLicenseResponse.- Specified by:
buildin interfaceObjectBuilder<GetLicenseResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-