Class ResolveIndexItem
java.lang.Object
org.opensearch.client.opensearch.indices.resolve_index.ResolveIndexItem
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ResolveIndexItem.Builder,ResolveIndexItem>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ResolveIndexItem
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ResolveIndexItem.Builder,ResolveIndexItem>
The resolved information for an index.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ResolveIndexItem> Json deserializer forResolveIndexItem -
Method Summary
Modifier and TypeMethodDescriptionaliases()The list of aliases associated with the index.Required - The list of index attributes.static ResolveIndexItem.Builderbuilder()final StringAPI name:data_streambooleaninthashCode()final Stringname()Required - API name:namestatic ResolveIndexItemvoidserialize(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 forResolveIndexItem
-
-
Method Details
-
of
public static ResolveIndexItem of(Function<ResolveIndexItem.Builder, ObjectBuilder<ResolveIndexItem>> fn) -
aliases
The list of aliases associated with the index.API name:
aliases -
attributes
Required - The list of index attributes.API name:
attributes -
dataStream
API name:data_stream -
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<ResolveIndexItem.Builder,ResolveIndexItem> - Returns:
- a new builder instance.
-
builder
-
setupResolveIndexItemDeserializer
protected static void setupResolveIndexItemDeserializer(ObjectDeserializer<ResolveIndexItem.Builder> op) -
hashCode
public int hashCode() -
equals
-