Class ValidatePatternDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • expression

        public ValidatePatternDetails.Builder expression​(String expression)
        Input string which drives the selection process, allowing for fine-grained control using qualifiers.

        Refer to the user documentation for details of the format and examples. A pattern cannot include both a prefix and an expression.

        Parameters:
        expression - the value to set
        Returns:
        this builder
      • filePathPrefix

        public ValidatePatternDetails.Builder filePathPrefix​(String filePathPrefix)
        Input string which drives the selection process.

        Refer to the user documentation for details of the format and examples. A pattern cannot include both a prefix and an expression.

        Parameters:
        filePathPrefix - the value to set
        Returns:
        this builder
      • checkFilePathList

        public ValidatePatternDetails.Builder checkFilePathList​(List<String> checkFilePathList)
        List of file paths against which the pattern can be tried, as a check.

        This documents, for reference purposes, some example objects a pattern is meant to work with.

        If provided with the request,this overrides the list which already exists as part of the pattern, if any.

        Parameters:
        checkFilePathList - the value to set
        Returns:
        this builder
      • checkFailureLimit

        public ValidatePatternDetails.Builder checkFailureLimit​(Integer checkFailureLimit)
        The maximum number of UNMATCHED files, in checkFilePathList, above which the check fails.

        Optional, if checkFilePathList is provided.

        If provided with the request, this overrides the value which already exists as part of the pattern, if any.

        Parameters:
        checkFailureLimit - the value to set
        Returns:
        this builder