Class RelocationFailureInfo
java.lang.Object
co.elastic.clients.elasticsearch._types.RelocationFailureInfo
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RelocationFailureInfo>Json deserializer forRelocationFailureInfo -
Method Summary
Modifier and TypeMethodDescriptionfinal intRequired - API name:failed_attemptsstatic RelocationFailureInfovoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forRelocationFailureInfo
-
-
Method Details
-
of
public static RelocationFailureInfo of(Function<RelocationFailureInfo.Builder, ObjectBuilder<RelocationFailureInfo>> fn) -
failedAttempts
public final int failedAttempts()Required - API name:failed_attempts -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRelocationFailureInfoDeserializer
protected static void setupRelocationFailureInfoDeserializer(ObjectDeserializer<RelocationFailureInfo.Builder> op)
-