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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodePackagingType.count(int value) Required - Number of selected nodes using the distribution flavor and file type.Required - Type of Elasticsearch distribution.protected NodePackagingType.Builderself()Required - File type (such astarorzip) used for the distribution package.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
Required - Number of selected nodes using the distribution flavor and file type.API name:
count -
flavor
Required - Type of Elasticsearch distribution. This is alwaysdefault.API name:
flavor -
type
Required - File type (such astarorzip) used for the distribution package.API name:
type -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NodePackagingType.Builder>
-
build
Builds aNodePackagingType.- Specified by:
buildin interfaceObjectBuilder<NodePackagingType>- Throws:
NullPointerException- if some of the required fields are null.
-