Class IndexRoutingAllocationInclude
java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexRoutingAllocationInclude
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class IndexRoutingAllocationInclude extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexRoutingAllocationInclude.Builder
Builder forIndexRoutingAllocationInclude
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexRoutingAllocationInclude>
_DESERIALIZER
Json deserializer forIndexRoutingAllocationInclude
-
Constructor Summary
Constructors Constructor Description IndexRoutingAllocationInclude(IndexRoutingAllocationInclude.Builder builder)
IndexRoutingAllocationInclude(java.util.function.Function<IndexRoutingAllocationInclude.Builder,IndexRoutingAllocationInclude.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
id()
API name:_id
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupIndexRoutingAllocationIncludeDeserializer(DelegatingDeserializer<IndexRoutingAllocationInclude.Builder> op)
java.lang.String
tierPreference()
API name:_tier_preference
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexRoutingAllocationInclude
-
-
Constructor Details
-
IndexRoutingAllocationInclude
-
IndexRoutingAllocationInclude
public IndexRoutingAllocationInclude(java.util.function.Function<IndexRoutingAllocationInclude.Builder,IndexRoutingAllocationInclude.Builder> fn)
-
-
Method Details
-
tierPreference
@Nullable public java.lang.String tierPreference()API name:_tier_preference
-
id
@Nullable public java.lang.String id()API name:_id
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupIndexRoutingAllocationIncludeDeserializer
protected static void setupIndexRoutingAllocationIncludeDeserializer(DelegatingDeserializer<IndexRoutingAllocationInclude.Builder> op)
-