Class IndexSettingsMappingLimitFieldNameLength
java.lang.Object
org.opensearch.client.opensearch.indices.IndexSettingsMappingLimitFieldNameLength
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndexSettingsMappingLimitFieldNameLength.Builder,IndexSettingsMappingLimitFieldNameLength>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndexSettingsMappingLimitFieldNameLength
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndexSettingsMappingLimitFieldNameLength.Builder,IndexSettingsMappingLimitFieldNameLength>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forIndexSettingsMappingLimitFieldNameLength. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexSettingsMappingLimitFieldNameLength> Json deserializer forIndexSettingsMappingLimitFieldNameLength -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()final Longlimit()Setting for the maximum length of a field name.of(Function<IndexSettingsMappingLimitFieldNameLength.Builder, ObjectBuilder<IndexSettingsMappingLimitFieldNameLength>> fn) voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupIndexSettingsMappingLimitFieldNameLengthDeserializer(ObjectDeserializer<IndexSettingsMappingLimitFieldNameLength.Builder> op) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexSettingsMappingLimitFieldNameLength
-
-
Method Details
-
of
-
limit
Setting for the maximum length of a field name. This setting isn't really something that addresses mappings explosion but might still be useful if you want to limit the field length. It usually shouldn't be necessary to set this setting. The default is okay unless a user starts to add a huge number of fields with really long names. Default isLong.MAX_VALUE(no limit).API name:
limit -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IndexSettingsMappingLimitFieldNameLength.Builder,IndexSettingsMappingLimitFieldNameLength> - Returns:
- a new builder instance.
-
builder
-
setupIndexSettingsMappingLimitFieldNameLengthDeserializer
protected static void setupIndexSettingsMappingLimitFieldNameLengthDeserializer(ObjectDeserializer<IndexSettingsMappingLimitFieldNameLength.Builder> op) -
hashCode
public int hashCode() -
equals
-