Class ShardFailure

All Implemented Interfaces:

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

  • Method Details

    • of

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

      @Nullable public final java.lang.String index()
      API name: index
    • node

      @Nullable public final java.lang.String node()
      API name: node
    • reason

      public final ErrorCause reason()
      Required - API name: reason
    • shard

      public final int shard()
      Required - API name: shard
    • status

      @Nullable public final java.lang.String status()
      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)
    • setupShardFailureDeserializer

      protected static void setupShardFailureDeserializer​(ObjectDeserializer<ShardFailure.Builder> op)