public final class CustomFieldsDraftBuilder extends Base implements Builder<CustomFieldsDraft>
Custom
,
CustomFieldsDraft
Modifier and Type | Method and Description |
---|---|
CustomFieldsDraftBuilder |
addObject(String fieldName,
Object object) |
CustomFieldsDraftBuilder |
addObjects(Map<String,Object> fields) |
CustomFieldsDraft |
build()
Creates a new instance of T with the values of this builder.
|
CustomFields |
buildFields()
Deprecated.
|
CustomFieldsDraftBuilder |
fields(Map<String,com.fasterxml.jackson.databind.JsonNode> fields) |
static CustomFieldsDraftBuilder |
of(CustomFields customFields) |
static CustomFieldsDraftBuilder |
of(CustomFieldsDraft customFieldsDraft) |
static CustomFieldsDraftBuilder |
ofType(Type type) |
static CustomFieldsDraftBuilder |
ofTypeId(String typeId) |
static CustomFieldsDraftBuilder |
ofTypeKey(String typeKey) |
public static CustomFieldsDraftBuilder ofTypeId(String typeId)
public static CustomFieldsDraftBuilder ofTypeKey(String typeKey)
public static CustomFieldsDraftBuilder ofType(Type type)
public static CustomFieldsDraftBuilder of(CustomFieldsDraft customFieldsDraft)
public static CustomFieldsDraftBuilder of(CustomFields customFields)
public CustomFieldsDraftBuilder addObject(String fieldName, Object object)
public CustomFieldsDraftBuilder addObjects(Map<String,Object> fields)
public CustomFieldsDraftBuilder fields(Map<String,com.fasterxml.jackson.databind.JsonNode> fields)
public CustomFieldsDraft build()
Builder
build
in interface Builder<CustomFieldsDraft>
@Deprecated public CustomFields buildFields()