Interface TemplateVariableMetadata.Builder

  • Method Details

    • type

      The type of the variable.

      Parameters:
      type - The type of the variable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of the variable.

      Parameters:
      type - The type of the variable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • required

      Whether the variable is required.

      Parameters:
      required - Whether the variable is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      TemplateVariableMetadata.Builder description(String description)

      A description of the variable.

      Parameters:
      description - A description of the variable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxLength

      The maximum length for string variables.

      Parameters:
      maxLength - The maximum length for string variables.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minValue

      The minimum value for numeric variables.

      Parameters:
      minValue - The minimum value for numeric variables.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxValue

      The maximum value for numeric variables.

      Parameters:
      maxValue - The maximum value for numeric variables.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultValue

      TemplateVariableMetadata.Builder defaultValue(String defaultValue)

      The default value for the variable.

      Parameters:
      defaultValue - The default value for the variable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pattern

      The regex pattern the variable value must match.

      Parameters:
      pattern - The regex pattern the variable value must match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sample

      A sample value for the variable.

      Parameters:
      sample - A sample value for the variable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      The source of the variable, either CUSTOMER or SYSTEM.

      Parameters:
      source - The source of the variable, either CUSTOMER or SYSTEM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • source

      The source of the variable, either CUSTOMER or SYSTEM.

      Parameters:
      source - The source of the variable, either CUSTOMER or SYSTEM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: