Interface XssMatchSet.Builder

    • Method Detail

      • name

        XssMatchSet.Builder name​(String name)

        The name, if any, of the XssMatchSet.

        Parameters:
        name - The name, if any, of the XssMatchSet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • xssMatchTuples

        XssMatchSet.Builder xssMatchTuples​(Collection<XssMatchTuple> xssMatchTuples)

        Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

        Parameters:
        xssMatchTuples - Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • xssMatchTuples

        XssMatchSet.Builder xssMatchTuples​(XssMatchTuple... xssMatchTuples)

        Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

        Parameters:
        xssMatchTuples - Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • xssMatchTuples

        XssMatchSet.Builder xssMatchTuples​(Consumer<XssMatchTuple.Builder>... xssMatchTuples)

        Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #xssMatchTuples(List).

        Parameters:
        xssMatchTuples - a consumer that will call methods on XssMatchTuple.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #xssMatchTuples(java.util.Collection)