Class ConstantKeywordProperty
java.lang.Object
org.opensearch.client.opensearch._types.mapping.PropertyBase
org.opensearch.client.opensearch._types.mapping.ConstantKeywordProperty
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,PropertyVariant,ToCopyableBuilder<ConstantKeywordProperty.Builder,ConstantKeywordProperty>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ConstantKeywordProperty
extends PropertyBase
implements PropertyVariant, ToCopyableBuilder<ConstantKeywordProperty.Builder,ConstantKeywordProperty>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase
PropertyBase.AbstractBuilder<BuilderT extends PropertyBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ConstantKeywordProperty> Json deserializer forConstantKeywordProperty -
Method Summary
Modifier and TypeMethodDescriptionPropertyvariant kind.builder()booleaninthashCode()static ConstantKeywordPropertyprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final JsonDatavalue()API name:valueMethods inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, meta, properties, serialize, setupPropertyBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.JsonpSerializable
serializeMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.opensearch._types.mapping.PropertyVariant
toPropertyMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forConstantKeywordProperty
-
-
Method Details
-
of
public static ConstantKeywordProperty of(Function<ConstantKeywordProperty.Builder, ObjectBuilder<ConstantKeywordProperty>> fn) -
_propertyKind
Propertyvariant kind.- Specified by:
_propertyKindin interfacePropertyVariant
-
value
API name:value -
serializeInternal
- Overrides:
serializeInternalin classPropertyBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ConstantKeywordProperty.Builder,ConstantKeywordProperty> - Returns:
- a new builder instance.
-
builder
-
setupConstantKeywordPropertyDeserializer
protected static void setupConstantKeywordPropertyDeserializer(ObjectDeserializer<ConstantKeywordProperty.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classPropertyBase
-
equals
- Overrides:
equalsin classPropertyBase
-