Class IndexState
java.lang.Object
org.opensearch.client.opensearch.indices.IndexState
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndexState.Builder,IndexState>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndexState
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndexState.Builder,IndexState>
The state configuration of an index.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexState> Json deserializer forIndexState -
Method Summary
Modifier and TypeMethodDescriptionaliases()The aliases associated with the index.static IndexState.Builderbuilder()final StringAPI name:data_streamfinal IndexSettingsdefaults()API name:defaultsbooleaninthashCode()final TypeMappingmappings()API name:mappingsstatic IndexStatevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) final IndexSettingssettings()API name:settingsprotected 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 forIndexState
-
-
Method Details
-
of
-
aliases
The aliases associated with the index.API name:
aliases -
dataStream
API name:data_stream -
defaults
API name:defaults -
mappings
API name:mappings -
settings
API name:settings -
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<IndexState.Builder,IndexState> - Returns:
- a new builder instance.
-
builder
-
setupIndexStateDeserializer
-
hashCode
public int hashCode() -
equals
-