Interface UpdateFormData.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UpdateFormData.Builder,UpdateFormData>, SdkBuilder<UpdateFormData.Builder,UpdateFormData>, SdkPojo
Enclosing class:
UpdateFormData

public static interface UpdateFormData.Builder extends SdkPojo, CopyableBuilder<UpdateFormData.Builder,UpdateFormData>
  • Method Details

    • 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

      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.
    • dataType

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

      This is a convenience method that creates an instance of the FormDataTypeConfig.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).

      Parameters:
      dataType - a consumer that will call methods on FormDataTypeConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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

      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.
    • style

      The configuration for the form's style.

      This is a convenience method that creates an instance of the FormStyle.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).

      Parameters:
      style - a consumer that will call methods on FormStyle.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.
    • cta

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

      This is a convenience method that creates an instance of the 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).

      Parameters:
      cta - a consumer that will call methods on FormCTA.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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: