public static interface CreateFormData.Builder extends SdkPojo, CopyableBuilder<CreateFormData.Builder,CreateFormData>
| Modifier and Type | Method and Description |
|---|---|
default CreateFormData.Builder |
cta(Consumer<FormCTA.Builder> cta)
The
FormCTA object that stores the call to action configuration for the form. |
CreateFormData.Builder |
cta(FormCTA cta)
The
FormCTA object that stores the call to action configuration for the form. |
default CreateFormData.Builder |
dataType(Consumer<FormDataTypeConfig.Builder> dataType)
The type of data source to use to create the form.
|
CreateFormData.Builder |
dataType(FormDataTypeConfig dataType)
The type of data source to use to create the form.
|
CreateFormData.Builder |
fields(Map<String,FieldConfig> fields)
The configuration information for the form's fields.
|
CreateFormData.Builder |
formActionType(FormActionType formActionType)
Specifies whether to perform a create or update action on the form.
|
CreateFormData.Builder |
formActionType(String formActionType)
Specifies whether to perform a create or update action on the form.
|
CreateFormData.Builder |
name(String name)
The name of the form.
|
CreateFormData.Builder |
schemaVersion(String schemaVersion)
The schema version of the form.
|
CreateFormData.Builder |
sectionalElements(Map<String,SectionalElement> sectionalElements)
The configuration information for the visual helper elements for the form.
|
default CreateFormData.Builder |
style(Consumer<FormStyle.Builder> style)
The configuration for the form's style.
|
CreateFormData.Builder |
style(FormStyle style)
The configuration for the form's style.
|
CreateFormData.Builder |
tags(Map<String,String> tags)
One or more key-value pairs to use when tagging the form data.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateFormData.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 CreateFormData.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)CreateFormData.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 CreateFormData.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)CreateFormData.Builder fields(Map<String,FieldConfig> fields)
The configuration information for the form's fields.
fields - The configuration information for the form's fields.CreateFormData.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,
FormActionTypeCreateFormData.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,
FormActionTypeCreateFormData.Builder name(String name)
The name of the form.
name - The name of the form.CreateFormData.Builder schemaVersion(String schemaVersion)
The schema version of the form.
schemaVersion - The schema version of the form.CreateFormData.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.CreateFormData.Builder style(FormStyle style)
The configuration for the form's style.
style - The configuration for the form's style.default CreateFormData.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)CreateFormData.Builder tags(Map<String,String> tags)
One or more key-value pairs to use when tagging the form data.
tags - One or more key-value pairs to use when tagging the form data.Copyright © 2022. All rights reserved.