Interface FormButton.Builder

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

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

    • excluded

      FormButton.Builder excluded(Boolean excluded)

      Specifies whether the button is visible on the form.

      Parameters:
      excluded - Specifies whether the button is visible on the form.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • children

      FormButton.Builder children(String children)

      Describes the button's properties.

      Parameters:
      children - Describes the button's properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • position

      FormButton.Builder position(FieldPosition position)

      The position of the button.

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

      default FormButton.Builder position(Consumer<FieldPosition.Builder> position)

      The position of the button.

      This is a convenience method that creates an instance of the FieldPosition.Builder avoiding the need to create one manually via FieldPosition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to position(FieldPosition).

      Parameters:
      position - a consumer that will call methods on FieldPosition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: