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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aGetLicenseResponse
.license
(LicenseInformation value) Required - API name:license
Required - API name:license
protected GetLicenseResponse.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
license
Required - API name:license
-
license
public final GetLicenseResponse.Builder license(Function<LicenseInformation.Builder, ObjectBuilder<LicenseInformation>> fn) Required - API name:license
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<GetLicenseResponse.Builder>
-
build
Builds aGetLicenseResponse
.- Specified by:
build
in interfaceObjectBuilder<GetLicenseResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-