Class ConstantKeywordProperty.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<ConstantKeywordProperty.Builder>
-
- org.opensearch.client.opensearch._types.mapping.ConstantKeywordProperty.Builder
-
- All Implemented Interfaces:
ObjectBuilder<ConstantKeywordProperty>
- Enclosing class:
- ConstantKeywordProperty
public static class ConstantKeywordProperty.Builder extends PropertyBase.AbstractBuilder<ConstantKeywordProperty.Builder> implements ObjectBuilder<ConstantKeywordProperty>
Builder forConstantKeywordProperty.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstantKeywordPropertybuild()Builds aConstantKeywordProperty.protected ConstantKeywordProperty.Builderself()ConstantKeywordProperty.Buildervalue(JsonData value)API name:value-
Methods inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, localMetadata, localMetadata, meta, meta, name, properties, properties, properties
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
value
public final ConstantKeywordProperty.Builder value(@Nullable JsonData value)
API name:value
-
self
protected ConstantKeywordProperty.Builder self()
- Specified by:
selfin classPropertyBase.AbstractBuilder<ConstantKeywordProperty.Builder>
-
build
public ConstantKeywordProperty build()
Builds aConstantKeywordProperty.- Specified by:
buildin interfaceObjectBuilder<ConstantKeywordProperty>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-