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 NodePackagingTypebuild()Builds aNodePackagingType.NodePackagingType.Buildercount(int value)Required - API name:countNodePackagingType.Builderflavor(java.lang.String value)Required - API name:flavorprotected NodePackagingType.Builderself()NodePackagingType.Buildertype(java.lang.String value)Required - API name:typeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:
selfin classWithJsonObjectBuilderBase<NodePackagingType.Builder>
-
build
Builds aNodePackagingType.- Specified by:
buildin interfaceObjectBuilder<NodePackagingType>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-