Class DeprecationsResponse

java.lang.Object
co.elastic.clients.elasticsearch.migration.DeprecationsResponse
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class DeprecationsResponse extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • clusterSettings

      public final List<Deprecation> clusterSettings()
      Required - Cluster-level deprecation warnings.

      API name: cluster_settings

    • indexSettings

      public final Map<String,List<Deprecation>> indexSettings()
      Required - Index warnings are sectioned off per index and can be filtered using an index-pattern in the query. This section includes warnings for the backing indices of data streams specified in the request path.

      API name: index_settings

    • dataStreams

      public final Map<String,List<Deprecation>> dataStreams()
      Required - API name: data_streams
    • nodeSettings

      public final List<Deprecation> nodeSettings()
      Required - Node-level deprecation warnings. Since only a subset of your nodes might incorporate these settings, it is important to read the details section for more information about which nodes are affected.

      API name: node_settings

    • mlSettings

      public final List<Deprecation> mlSettings()
      Required - Machine learning-related deprecation warnings.

      API name: ml_settings

    • templates

      public final Map<String,List<Deprecation>> templates()
      Required - Template warnings are sectioned off per template and include deprecations for both component templates and index templates.

      API name: templates

    • ilmPolicies

      public final Map<String,List<Deprecation>> ilmPolicies()
      Required - ILM policy warnings are sectioned off per policy.

      API name: ilm_policies

    • serialize

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

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupDeprecationsResponseDeserializer

      protected static void setupDeprecationsResponseDeserializer(ObjectDeserializer<DeprecationsResponse.Builder> op)