Class Phase.Builder

java.lang.Object
co.elastic.clients.elasticsearch.ilm.Phase.Builder
All Implemented Interfaces:
ObjectBuilder<Phase>
Enclosing class:
Phase

public static class Phase.Builder
extends java.lang.Object
implements ObjectBuilder<Phase>
Builder for Phase.
  • Constructor Summary

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    Phase.Builder actions​(jakarta.json.JsonValue value)
    Required - API name: actions
    Phase build()
    Builds a Phase.
    Phase.Builder minAge​(java.lang.String value)
    API name: min_age

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • actions

      public Phase.Builder actions​(jakarta.json.JsonValue value)
      Required - API name: actions
    • minAge

      public Phase.Builder minAge​(@Nullable java.lang.String value)
      API name: min_age
    • build

      public Phase build()
      Builds a Phase.
      Specified by:
      build in interface ObjectBuilder<Phase>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.