Class RelocationFailureInfo
java.lang.Object
co.elastic.clients.elasticsearch._types.RelocationFailureInfo
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<RelocationFailureInfo>
Json deserializer forRelocationFailureInfo
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
Required - API name:failed_attempts
static RelocationFailureInfo
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
toString()
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRelocationFailureInfoDeserializer
protected static void setupRelocationFailureInfoDeserializer(ObjectDeserializer<RelocationFailureInfo.Builder> op)
-