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