Class TransportUsageStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.TransportUsageStats.Builder
- All Implemented Interfaces:
CopyableBuilder<TransportUsageStats.Builder,,TransportUsageStats> MutableBuilder<TransportUsageStats.Builder,,TransportUsageStats> ObjectBuilder<TransportUsageStats>
- Enclosing class:
TransportUsageStats
public static class TransportUsageStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<TransportUsageStats.Builder,TransportUsageStats>
Builder for
TransportUsageStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTransportUsageStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.rejectionCount(String key, Long value) API name:rejection_countrejectionCount(Map<String, Long> map) API name:rejection_countMethods 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<TransportUsageStats.Builder,TransportUsageStats> - Returns:
- a new builder instance.
-
rejectionCount
API name:rejection_countAdds all elements of
maptorejectionCount. -
rejectionCount
API name:rejection_countAdds an entry to
rejectionCount. -
build
Builds aTransportUsageStats.- Specified by:
buildin interfaceObjectBuilder<TransportUsageStats>- Throws:
NullPointerException- if some of the required fields are null.
-