Class GetResponse.Builder
java.lang.Object
co.elastic.clients.elasticsearch.license.GetResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<GetResponse>
- Enclosing class:
- GetResponse
public static class GetResponse.Builder extends java.lang.Object implements ObjectBuilder<GetResponse>
Builder for
GetResponse
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GetResponse
build()
Builds aGetResponse
.GetResponse.Builder
license(LicenseInformation value)
Required - API name:license
GetResponse.Builder
license(java.util.function.Function<LicenseInformation.Builder,ObjectBuilder<LicenseInformation>> fn)
Required - API name:license
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 GetResponse.Builder license(java.util.function.Function<LicenseInformation.Builder,ObjectBuilder<LicenseInformation>> fn)Required - API name:license
-
build
Builds aGetResponse
.- Specified by:
build
in interfaceObjectBuilder<GetResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-