Class IndexSettingBlocks
java.lang.Object
org.opensearch.client.opensearch.indices.IndexSettingBlocks
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndexSettingBlocks.Builder,IndexSettingBlocks>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndexSettingBlocks
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndexSettingBlocks.Builder,IndexSettingBlocks>
The block settings that control index operations.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexSettingBlocks> Json deserializer forIndexSettingBlocks -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexSettingBlocks.Builderbuilder()booleaninthashCode()final Booleanmetadata()API name:metadatastatic IndexSettingBlocksfinal Booleanread()API name:readfinal BooleanreadOnly()API name:read_onlyfinal BooleanAPI name:read_only_allow_deletefinal BooleanWhen true, the index is in search-only mode, allowing only read operationsvoidserialize(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.final Booleanwrite()API name:writeMethods 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 forIndexSettingBlocks
-
-
Method Details
-
of
public static IndexSettingBlocks of(Function<IndexSettingBlocks.Builder, ObjectBuilder<IndexSettingBlocks>> fn) -
metadata
API name:metadata -
read
API name:read -
readOnly
API name:read_only -
readOnlyAllowDelete
API name:read_only_allow_delete -
searchOnly
When true, the index is in search-only mode, allowing only read operationsAPI name:
search_only -
write
API name:write -
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<IndexSettingBlocks.Builder,IndexSettingBlocks> - Returns:
- a new builder instance.
-
builder
-
setupIndexSettingBlocksDeserializer
protected static void setupIndexSettingBlocksDeserializer(ObjectDeserializer<IndexSettingBlocks.Builder> op) -
hashCode
public int hashCode() -
equals
-