@NoImplement
public interface ObjectValueDeclarer
| Modifier and Type | Method and Description |
|---|---|
ObjectValueDeclarer |
withField(String name,
Consumer<ValueDeclarer> valueDeclarerConsumer)
Describe an entry of the map
|
ObjectValueDeclarer |
withField(String name,
Object value)
Describe a field of the object
|
ObjectValueDeclarer withField(String name, Object value)
name - the name of the field being declaredvalue - the value to be associated with the fieldObjectValueDeclarer withField(String name, Consumer<ValueDeclarer> valueDeclarerConsumer)
name - the name of the entry being declaredvalueDeclarerConsumer - a consumer to configure the value of the fieldCopyright © 2022 MuleSoft, Inc.. All rights reserved.