Interface UpdateFormData.Builder

    • Method Detail

      • name

        UpdateFormData.Builder name​(String name)

        The name of the form.

        Parameters:
        name - The name of the form.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataType

        UpdateFormData.Builder dataType​(FormDataTypeConfig dataType)

        The type of data source to use to create the form.

        Parameters:
        dataType - The type of data source to use to create the form.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • formActionType

        UpdateFormData.Builder formActionType​(String formActionType)

        Specifies whether to perform a create or update action on the form.

        Parameters:
        formActionType - Specifies whether to perform a create or update action on the form.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FormActionType, FormActionType
      • formActionType

        UpdateFormData.Builder formActionType​(FormActionType formActionType)

        Specifies whether to perform a create or update action on the form.

        Parameters:
        formActionType - Specifies whether to perform a create or update action on the form.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FormActionType, FormActionType
      • fields

        UpdateFormData.Builder fields​(Map<String,​FieldConfig> fields)

        The configuration information for the form's fields.

        Parameters:
        fields - The configuration information for the form's fields.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • style

        UpdateFormData.Builder style​(FormStyle style)

        The configuration for the form's style.

        Parameters:
        style - The configuration for the form's style.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sectionalElements

        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.

        Parameters:
        sectionalElements - The configuration information for the visual helper elements for the form. These elements are not associated with any data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schemaVersion

        UpdateFormData.Builder schemaVersion​(String schemaVersion)

        The schema version of the form.

        Parameters:
        schemaVersion - The schema version of the form.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cta

        UpdateFormData.Builder cta​(FormCTA cta)

        The FormCTA object that stores the call to action configuration for the form.

        Parameters:
        cta - The FormCTA object that stores the call to action configuration for the form.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labelDecorator

        UpdateFormData.Builder labelDecorator​(String labelDecorator)

        Specifies an icon or decoration to display on the form.

        Parameters:
        labelDecorator - Specifies an icon or decoration to display on the form.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LabelDecorator, LabelDecorator
      • labelDecorator

        UpdateFormData.Builder labelDecorator​(LabelDecorator labelDecorator)

        Specifies an icon or decoration to display on the form.

        Parameters:
        labelDecorator - Specifies an icon or decoration to display on the form.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LabelDecorator, LabelDecorator