Class AggregateMetricDoubleProperty
- java.lang.Object
-
- org.opensearch.client.opensearch._types.mapping.PropertyBase
-
- org.opensearch.client.opensearch._types.mapping.AggregateMetricDoubleProperty
-
- All Implemented Interfaces:
JsonpSerializable,PropertyVariant
@JsonpDeserializable public class AggregateMetricDoubleProperty extends PropertyBase implements PropertyVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAggregateMetricDoubleProperty.BuilderBuilder forAggregateMetricDoubleProperty.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase
PropertyBase.AbstractBuilder<BuilderT extends PropertyBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AggregateMetricDoubleProperty>_DESERIALIZERJson deserializer forAggregateMetricDoubleProperty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Property.Kind_propertyKind()Property variant kind.java.lang.StringdefaultMetric()Required - API name:default_metricjava.util.List<java.lang.String>metrics()Required - API name:metricsstatic AggregateMetricDoublePropertyof(java.util.function.Function<AggregateMetricDoubleProperty.Builder,ObjectBuilder<AggregateMetricDoubleProperty>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAggregateMetricDoublePropertyDeserializer(ObjectDeserializer<AggregateMetricDoubleProperty.Builder> op)-
Methods inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, localMetadata, meta, name, properties, serialize, setupPropertyBaseDeserializer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.JsonpSerializable
serialize
-
Methods inherited from interface org.opensearch.client.opensearch._types.mapping.PropertyVariant
_toProperty
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<AggregateMetricDoubleProperty> _DESERIALIZER
Json deserializer forAggregateMetricDoubleProperty
-
-
Method Detail
-
of
public static AggregateMetricDoubleProperty of(java.util.function.Function<AggregateMetricDoubleProperty.Builder,ObjectBuilder<AggregateMetricDoubleProperty>> fn)
-
_propertyKind
public Property.Kind _propertyKind()
Property variant kind.- Specified by:
_propertyKindin interfacePropertyVariant
-
defaultMetric
public final java.lang.String defaultMetric()
Required - API name:default_metric
-
metrics
public final java.util.List<java.lang.String> metrics()
Required - API name:metrics
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classPropertyBase
-
setupAggregateMetricDoublePropertyDeserializer
protected static void setupAggregateMetricDoublePropertyDeserializer(ObjectDeserializer<AggregateMetricDoubleProperty.Builder> op)
-
-