Class ClusterAppliedStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.nodes.ClusterAppliedStats.Builder
- All Implemented Interfaces:
ObjectBuilder<ClusterAppliedStats>
- Enclosing class:
- ClusterAppliedStats
public static class ClusterAppliedStats.Builder extends ObjectBuilderBase implements ObjectBuilder<ClusterAppliedStats>
Builder for
ClusterAppliedStats
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ClusterAppliedStats
build()
Builds aClusterAppliedStats
.ClusterAppliedStats.Builder
recordings(Recording value, Recording... values)
API name:recordings
ClusterAppliedStats.Builder
recordings(java.util.function.Function<Recording.Builder,ObjectBuilder<Recording>> fn)
API name:recordings
ClusterAppliedStats.Builder
recordings(java.util.List<Recording> list)
API name:recordings
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recordings
API name:recordings
Adds all elements of
list
torecordings
. -
recordings
API name:recordings
Adds one or more values to
recordings
. -
recordings
public final ClusterAppliedStats.Builder recordings(java.util.function.Function<Recording.Builder,ObjectBuilder<Recording>> fn)API name:recordings
Adds a value to
recordings
using a builder lambda. -
build
Builds aClusterAppliedStats
.- Specified by:
build
in interfaceObjectBuilder<ClusterAppliedStats>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-