Class SourceField
java.lang.Object
org.opensearch.client.opensearch._types.mapping.SourceField
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SourceField.Builder,SourceField>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SourceField
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SourceField.Builder,SourceField>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SourceField> Json deserializer forSourceField -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceField.Builderbuilder()final Booleancompress()API name:compressfinal StringAPI name:compress_thresholdfinal Booleanenabled()API name:enabledbooleanexcludes()API name:excludesinthashCode()includes()API name:includesstatic SourceFieldvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate 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 forSourceField
-
-
Method Details
-
of
-
compress
API name:compress -
compressThreshold
API name:compress_threshold -
enabled
API name:enabled -
excludes
API name:excludes -
includes
API name:includes -
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<SourceField.Builder,SourceField> - Returns:
- a new builder instance.
-
builder
-
setupSourceFieldDeserializer
-
hashCode
public int hashCode() -
equals
-