Class NodePackagingType.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NodePackagingType.Builder>
co.elastic.clients.elasticsearch.cluster.stats.NodePackagingType.Builder
- All Implemented Interfaces:
WithJson<NodePackagingType.Builder>
,ObjectBuilder<NodePackagingType>
- Enclosing class:
- NodePackagingType
public static class NodePackagingType.Builder extends WithJsonObjectBuilderBase<NodePackagingType.Builder> implements ObjectBuilder<NodePackagingType>
Builder for
NodePackagingType
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description NodePackagingType
build()
Builds aNodePackagingType
.NodePackagingType.Builder
count(int value)
Required - API name:count
NodePackagingType.Builder
flavor(java.lang.String value)
Required - API name:flavor
protected NodePackagingType.Builder
self()
NodePackagingType.Builder
type(java.lang.String value)
Required - API name:type
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
-
count
Required - API name:count
-
flavor
Required - API name:flavor
-
type
Required - API name:type
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<NodePackagingType.Builder>
-
build
Builds aNodePackagingType
.- Specified by:
build
in interfaceObjectBuilder<NodePackagingType>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-