Class ObjectBuilder.Constant<V>

java.lang.Object
org.opensearch.client.util.ObjectBuilder.Constant<V>
All Implemented Interfaces:
ObjectBuilder<V>
Enclosing interface:
ObjectBuilder<T>

public static class ObjectBuilder.Constant<V>
extends java.lang.Object
implements ObjectBuilder<V>
An object builder that always returns the same value.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder

    ObjectBuilder.Constant<V>
  • Constructor Summary

    Constructors 
    Constructor Description
    Constant​(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