Class NodePackagingType.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.cluster.stats.NodePackagingType.Builder
- All Implemented Interfaces:
CopyableBuilder<NodePackagingType.Builder,,NodePackagingType> MutableBuilder<NodePackagingType.Builder,,NodePackagingType> ObjectBuilder<NodePackagingType>
- Enclosing class:
NodePackagingType
public static class NodePackagingType.Builder
extends ObjectBuilderBase
implements CopyableBuilder<NodePackagingType.Builder,NodePackagingType>
Builder for
NodePackagingType.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodePackagingType.copy()Create a new builderCopyableBuilderthat is a copy of this one.count(int value) Required - Number of selected nodes using the distribution flavor and file type.Type of OpenSearch distribution.Required - File type (such astarorzip) used for the distribution package.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<NodePackagingType.Builder,NodePackagingType> - Returns:
- a new builder instance.
-
count
Required - Number of selected nodes using the distribution flavor and file type.API name:
count -
flavor
Type of OpenSearch distribution. This is alwaysdefault.API name:
flavor -
type
Required - File type (such astarorzip) used for the distribution package.API name:
type -
build
Builds aNodePackagingType.- Specified by:
buildin interfaceObjectBuilder<NodePackagingType>- Throws:
NullPointerException- if some of the required fields are null.
-