Class SearchShardsResponse
java.lang.Object
org.opensearch.client.opensearch.core.SearchShardsResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SearchShardsResponse.Builder,SearchShardsResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SearchShardsResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SearchShardsResponse.Builder,SearchShardsResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SearchShardsResponse> Json deserializer forSearchShardsResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchShardsResponse.Builderbuilder()booleaninthashCode()final Map<String, ShardStoreIndex> indices()Required - API name:indicesfinal Map<String, NodeAttributes> nodes()Required - API name:nodesstatic SearchShardsResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidshards()Required - API name:shardsCreate 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 forSearchShardsResponse
-
-
Method Details
-
of
public static SearchShardsResponse of(Function<SearchShardsResponse.Builder, ObjectBuilder<SearchShardsResponse>> fn) -
indices
Required - API name:indices -
nodes
Required - API name:nodes -
shards
Required - API name:shards -
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<SearchShardsResponse.Builder,SearchShardsResponse> - Returns:
- a new builder instance.
-
builder
-
setupSearchShardsResponseDeserializer
protected static void setupSearchShardsResponseDeserializer(ObjectDeserializer<SearchShardsResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-