Class TopMetricsValue.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.TopMetricsValue.Builder
-
- All Implemented Interfaces:
ObjectBuilder<TopMetricsValue>
- Enclosing class:
- TopMetricsValue
public static class TopMetricsValue.Builder extends ObjectBuilderBase implements ObjectBuilder<TopMetricsValue>
Builder forTopMetricsValue.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopMetricsValuebuild()Builds aTopMetricsValue.TopMetricsValue.Builderfield(java.lang.String value)Required - API name:field-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
field
public final TopMetricsValue.Builder field(java.lang.String value)
Required - API name:field
-
build
public TopMetricsValue build()
Builds aTopMetricsValue.- Specified by:
buildin interfaceObjectBuilder<TopMetricsValue>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-