public static interface UpdateFormData.Builder extends SdkPojo, CopyableBuilder<UpdateFormData.Builder,UpdateFormData>
| Modifier and Type | Method and Description |
|---|---|
default UpdateFormData.Builder |
cta(Consumer<FormCTA.Builder> cta)
The
FormCTA object that stores the call to action configuration for the form. |
UpdateFormData.Builder |
cta(FormCTA cta)
The
FormCTA object that stores the call to action configuration for the form. |
default UpdateFormData.Builder |
dataType(Consumer<FormDataTypeConfig.Builder> dataType)
The type of data source to use to create the form.
|
UpdateFormData.Builder |
dataType(FormDataTypeConfig dataType)
The type of data source to use to create the form.
|
UpdateFormData.Builder |
fields(Map<String,FieldConfig> fields)
The configuration information for the form's fields.
|
UpdateFormData.Builder |
formActionType(FormActionType formActionType)
Specifies whether to perform a create or update action on the form.
|
UpdateFormData.Builder |
formActionType(String formActionType)
Specifies whether to perform a create or update action on the form.
|
UpdateFormData.Builder |
labelDecorator(LabelDecorator labelDecorator)
Specifies an icon or decoration to display on the form.
|
UpdateFormData.Builder |
labelDecorator(String labelDecorator)
Specifies an icon or decoration to display on the form.
|
UpdateFormData.Builder |
name(String name)
The name of the form.
|
UpdateFormData.Builder |
schemaVersion(String schemaVersion)
The schema version of the form.
|
UpdateFormData.Builder |
sectionalElements(Map<String,SectionalElement> sectionalElements)
The configuration information for the visual helper elements for the form.
|
default UpdateFormData.Builder |
style(Consumer<FormStyle.Builder> style)
The configuration for the form's style.
|
UpdateFormData.Builder |
style(FormStyle style)
The configuration for the form's style.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateFormData.Builder name(String name)
The name of the form.
name - The name of the form.UpdateFormData.Builder dataType(FormDataTypeConfig dataType)
The type of data source to use to create the form.
dataType - The type of data source to use to create the form.default UpdateFormData.Builder dataType(Consumer<FormDataTypeConfig.Builder> dataType)
The type of data source to use to create the form.
This is a convenience method that creates an instance of theFormDataTypeConfig.Builder avoiding the
need to create one manually via FormDataTypeConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to dataType(FormDataTypeConfig).
dataType - a consumer that will call methods on FormDataTypeConfig.BuilderdataType(FormDataTypeConfig)UpdateFormData.Builder formActionType(String formActionType)
Specifies whether to perform a create or update action on the form.
formActionType - Specifies whether to perform a create or update action on the form.FormActionType,
FormActionTypeUpdateFormData.Builder formActionType(FormActionType formActionType)
Specifies whether to perform a create or update action on the form.
formActionType - Specifies whether to perform a create or update action on the form.FormActionType,
FormActionTypeUpdateFormData.Builder fields(Map<String,FieldConfig> fields)
The configuration information for the form's fields.
fields - The configuration information for the form's fields.UpdateFormData.Builder style(FormStyle style)
The configuration for the form's style.
style - The configuration for the form's style.default UpdateFormData.Builder style(Consumer<FormStyle.Builder> style)
The configuration for the form's style.
This is a convenience method that creates an instance of theFormStyle.Builder avoiding the need to
create one manually via FormStyle.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to style(FormStyle).
style - a consumer that will call methods on FormStyle.Builderstyle(FormStyle)UpdateFormData.Builder sectionalElements(Map<String,SectionalElement> sectionalElements)
The configuration information for the visual helper elements for the form. These elements are not associated with any data.
sectionalElements - The configuration information for the visual helper elements for the form. These elements are not
associated with any data.UpdateFormData.Builder schemaVersion(String schemaVersion)
The schema version of the form.
schemaVersion - The schema version of the form.UpdateFormData.Builder cta(FormCTA cta)
The FormCTA object that stores the call to action configuration for the form.
cta - The FormCTA object that stores the call to action configuration for the form.default UpdateFormData.Builder cta(Consumer<FormCTA.Builder> cta)
The FormCTA object that stores the call to action configuration for the form.
FormCTA.Builder avoiding the need to
create one manually via FormCTA.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to cta(FormCTA).
cta - a consumer that will call methods on FormCTA.Buildercta(FormCTA)UpdateFormData.Builder labelDecorator(String labelDecorator)
Specifies an icon or decoration to display on the form.
labelDecorator - Specifies an icon or decoration to display on the form.LabelDecorator,
LabelDecoratorUpdateFormData.Builder labelDecorator(LabelDecorator labelDecorator)
Specifies an icon or decoration to display on the form.
labelDecorator - Specifies an icon or decoration to display on the form.LabelDecorator,
LabelDecoratorCopyright © 2023. All rights reserved.