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 classIndexRoutingAllocationInclude.BuilderBuilder forIndexRoutingAllocationInclude. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexRoutingAllocationInclude>_DESERIALIZERJson deserializer forIndexRoutingAllocationInclude -
Method Summary
Modifier and Type Method Description java.lang.Stringid()API name:_idstatic IndexRoutingAllocationIncludeof(java.util.function.Function<IndexRoutingAllocationInclude.Builder,ObjectBuilder<IndexRoutingAllocationInclude>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIndexRoutingAllocationIncludeDeserializer(ObjectDeserializer<IndexRoutingAllocationInclude.Builder> op)java.lang.StringtierPreference()API name:_tier_preferencejava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupIndexRoutingAllocationIncludeDeserializer
protected static void setupIndexRoutingAllocationIncludeDeserializer(ObjectDeserializer<IndexRoutingAllocationInclude.Builder> op)
-