Package org.opensearch.client.util
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
-
Method Summary
-
Constructor Details
-
Method Details
-
build
- Specified by:
buildin interfaceObjectBuilder<V>
-