Class ConstantBuilder<V>

java.lang.Object
co.elastic.clients.util.ConstantBuilder<V>
All Implemented Interfaces:
ObjectBuilder<V>

public class ConstantBuilder<V>
extends java.lang.Object
implements ObjectBuilder<V>
An object builder that always returns the same value.
  • Constructor Summary

    Constructors
    Constructor Description
    ConstantBuilder​(V value)  
  • Method Summary

    Modifier and Type Method Description
    V build()  

    Methods inherited from class java.lang.Object

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

    • ConstantBuilder

      public ConstantBuilder​(V value)
  • Method Details