Class RerouteParameters
java.lang.Object
co.elastic.clients.elasticsearch.cluster.reroute.RerouteParameters
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RerouteParameters>Json deserializer forRerouteParameters -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - API name:allow_primaryfinal StringfromNode()API name:from_nodefinal Stringindex()Required - API name:indexfinal Stringnode()Required - API name:nodestatic RerouteParametersvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal intshard()Required - API name:shardfinal StringtoNode()API name:to_nodetoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forRerouteParameters
-
-
Method Details
-
of
public static RerouteParameters of(Function<RerouteParameters.Builder, ObjectBuilder<RerouteParameters>> fn) -
allowPrimary
public final boolean allowPrimary()Required - API name:allow_primary -
index
Required - API name:index -
node
Required - API name:node -
shard
public final int shard()Required - API name:shard -
fromNode
API name:from_node -
toNode
API name:to_node -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRerouteParametersDeserializer
protected static void setupRerouteParametersDeserializer(ObjectDeserializer<RerouteParameters.Builder> op)
-