Class JoinProperty.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<JoinProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.JoinProperty.Builder
- All Implemented Interfaces:
ObjectBuilder<JoinProperty>
- Enclosing class:
- JoinProperty
public static class JoinProperty.Builder extends PropertyBase.AbstractBuilder<JoinProperty.Builder> implements ObjectBuilder<JoinProperty>
Builder for
JoinProperty.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description JoinPropertybuild()Builds aJoinProperty.JoinProperty.BuilderputRelations(java.lang.String key, java.util.List<java.lang.String> value)Add a key/value torelations(Map), creating the map if needed.JoinProperty.Builderrelations(java.util.Map<java.lang.String,java.util.List<java.lang.String>> value)API name:relationsprotected JoinProperty.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, ignoreAbove, localMetadata, meta, name, properties, properties, putFields, putFields, putLocalMetadata, putMeta, putProperties, putPropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
relations
public JoinProperty.Builder relations(@Nullable java.util.Map<java.lang.String,java.util.List<java.lang.String>> value)API name:relations -
putRelations
public JoinProperty.Builder putRelations(java.lang.String key, java.util.List<java.lang.String> value)Add a key/value torelations(Map), creating the map if needed. -
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<JoinProperty.Builder>
-
build
Builds aJoinProperty.- Specified by:
buildin interfaceObjectBuilder<JoinProperty>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-