Class IndicesBlockStatus
java.lang.Object
org.opensearch.client.opensearch.indices.add_block.IndicesBlockStatus
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndicesBlockStatus.Builder,IndicesBlockStatus>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndicesBlockStatus
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndicesBlockStatus.Builder,IndicesBlockStatus>
The status of a block operation on an index.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndicesBlockStatus> Json deserializer forIndicesBlockStatus -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanblocked()Required - Whether the block operation was successful.static IndicesBlockStatus.Builderbuilder()booleaninthashCode()final Stringname()Required - API name:namestatic IndicesBlockStatusvoidserialize(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 forIndicesBlockStatus
-
-
Method Details
-
of
public static IndicesBlockStatus of(Function<IndicesBlockStatus.Builder, ObjectBuilder<IndicesBlockStatus>> fn) -
blocked
public final boolean blocked()Required - Whether the block operation was successful.API name:
blocked -
name
Required - API name:name -
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<IndicesBlockStatus.Builder,IndicesBlockStatus> - Returns:
- a new builder instance.
-
builder
-
setupIndicesBlockStatusDeserializer
protected static void setupIndicesBlockStatusDeserializer(ObjectDeserializer<IndicesBlockStatus.Builder> op) -
hashCode
public int hashCode() -
equals
-