Interface StringListConfigurationOptions.Builder

    • Method Detail

      • defaultValue

        StringListConfigurationOptions.Builder defaultValue​(Collection<String> defaultValue)

        The Security Hub default value for a control parameter that is a list of strings.

        Parameters:
        defaultValue - The Security Hub default value for a control parameter that is a list of strings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultValue

        StringListConfigurationOptions.Builder defaultValue​(String... defaultValue)

        The Security Hub default value for a control parameter that is a list of strings.

        Parameters:
        defaultValue - The Security Hub default value for a control parameter that is a list of strings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • re2Expression

        StringListConfigurationOptions.Builder re2Expression​(String re2Expression)

        An RE2 regular expression that Security Hub uses to validate a user-provided list of strings for a control parameter.

        Parameters:
        re2Expression - An RE2 regular expression that Security Hub uses to validate a user-provided list of strings for a control parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxItems

        StringListConfigurationOptions.Builder maxItems​(Integer maxItems)

        The maximum number of list items that a string list control parameter can accept.

        Parameters:
        maxItems - The maximum number of list items that a string list control parameter can accept.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expressionDescription

        StringListConfigurationOptions.Builder expressionDescription​(String expressionDescription)

        The description of the RE2 regular expression.

        Parameters:
        expressionDescription - The description of the RE2 regular expression.
        Returns:
        Returns a reference to this object so that method calls can be chained together.