Class IndexRoutingAllocationInclude
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.IndexRoutingAllocationInclude
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexRoutingAllocationInclude extends java.lang.Object implements JsonpSerializable
-
-
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
All Methods Static Methods Instance Methods Concrete Methods 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_preference
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<IndexRoutingAllocationInclude> _DESERIALIZER
Json deserializer forIndexRoutingAllocationInclude
-
-
Method Detail
-
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
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupIndexRoutingAllocationIncludeDeserializer
protected static void setupIndexRoutingAllocationIncludeDeserializer(ObjectDeserializer<IndexRoutingAllocationInclude.Builder> op)
-
-