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