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 GetLicenseResponse
build()
Builds aGetLicenseResponse
.GetLicenseResponse.Builder
license(LicenseInformation value)
Required - API name:license
GetLicenseResponse.Builder
license(java.util.function.Function<LicenseInformation.Builder,ObjectBuilder<LicenseInformation>> fn)
Required - API name:license
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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:
build
in interfaceObjectBuilder<GetLicenseResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-