Class IndexRoutingAllocationInclude
java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexRoutingAllocationInclude
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexRoutingAllocationInclude extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
Method Summary
Modifier and Type Method Description java.lang.String
id()
API name:_id
static IndexRoutingAllocationInclude
of(java.util.function.Function<IndexRoutingAllocationInclude.Builder,ObjectBuilder<IndexRoutingAllocationInclude>> fn)
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(ObjectDeserializer<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
-
-
Method Details
-
of
public static IndexRoutingAllocationInclude of(java.util.function.Function<IndexRoutingAllocationInclude.Builder,ObjectBuilder<IndexRoutingAllocationInclude>> fn) -
tierPreference
@Nullable public final java.lang.String tierPreference()API name:_tier_preference
-
id
@Nullable public final java.lang.String id()API name:_id
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupIndexRoutingAllocationIncludeDeserializer
protected static void setupIndexRoutingAllocationIncludeDeserializer(ObjectDeserializer<IndexRoutingAllocationInclude.Builder> op)
-