Class ClusterOperatingSystemArchitecture.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.cluster.stats.ClusterOperatingSystemArchitecture.Builder
- All Implemented Interfaces:
CopyableBuilder<ClusterOperatingSystemArchitecture.Builder,,ClusterOperatingSystemArchitecture> MutableBuilder<ClusterOperatingSystemArchitecture.Builder,,ClusterOperatingSystemArchitecture> ObjectBuilder<ClusterOperatingSystemArchitecture>
- Enclosing class:
ClusterOperatingSystemArchitecture
public static class ClusterOperatingSystemArchitecture.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ClusterOperatingSystemArchitecture.Builder,ClusterOperatingSystemArchitecture>
Builder for
ClusterOperatingSystemArchitecture.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRequired - Name of an architecture used by one or more selected nodes.build()Builds aClusterOperatingSystemArchitecture.copy()Create a new builderCopyableBuilderthat is a copy of this one.count(int value) Required - Number of selected nodes using the architecture.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<ClusterOperatingSystemArchitecture.Builder,ClusterOperatingSystemArchitecture> - Returns:
- a new builder instance.
-
arch
Required - Name of an architecture used by one or more selected nodes.API name:
arch -
count
Required - Number of selected nodes using the architecture.API name:
count -
build
Builds aClusterOperatingSystemArchitecture.- Specified by:
buildin interfaceObjectBuilder<ClusterOperatingSystemArchitecture>- Throws:
NullPointerException- if some of the required fields are null.
-