Class SnapshotShardFailure

All Implemented Interfaces:

public class SnapshotShardFailure
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static SnapshotShardFailure of​(java.util.function.Function<SnapshotShardFailure.Builder,​ObjectBuilder<SnapshotShardFailure>> fn)
    • index

      public final java.lang.String index()
      Required - API name: index
    • nodeId

      public final java.lang.String nodeId()
      Required - API name: node_id
    • reason

      public final java.lang.String reason()
      Required - API name: reason
    • shardId

      public final java.lang.String shardId()
      Required - API name: shard_id
    • status

      public final java.lang.String status()
      Required - API name: status
    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupSnapshotShardFailureDeserializer

      protected static void setupSnapshotShardFailureDeserializer​(ObjectDeserializer<SnapshotShardFailure.Builder> op)