Interface ResponseHeadersPolicyAccessControlAllowMethods.Builder

    • Method Detail

      • itemsWithStrings

        ResponseHeadersPolicyAccessControlAllowMethods.Builder itemsWithStrings​(Collection<String> items)

        The list of HTTP methods. Valid values are:

        • GET

        • DELETE

        • HEAD

        • OPTIONS

        • PATCH

        • POST

        • PUT

        • ALL

        ALL is a special value that includes all of the listed HTTP methods.

        Parameters:
        items - The list of HTTP methods. Valid values are:

        • GET

        • DELETE

        • HEAD

        • OPTIONS

        • PATCH

        • POST

        • PUT

        • ALL

        ALL is a special value that includes all of the listed HTTP methods.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • itemsWithStrings

        ResponseHeadersPolicyAccessControlAllowMethods.Builder itemsWithStrings​(String... items)

        The list of HTTP methods. Valid values are:

        • GET

        • DELETE

        • HEAD

        • OPTIONS

        • PATCH

        • POST

        • PUT

        • ALL

        ALL is a special value that includes all of the listed HTTP methods.

        Parameters:
        items - The list of HTTP methods. Valid values are:

        • GET

        • DELETE

        • HEAD

        • OPTIONS

        • PATCH

        • POST

        • PUT

        • ALL

        ALL is a special value that includes all of the listed HTTP methods.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • items

        ResponseHeadersPolicyAccessControlAllowMethods.Builder items​(ResponseHeadersPolicyAccessControlAllowMethodsValues... items)

        The list of HTTP methods. Valid values are:

        • GET

        • DELETE

        • HEAD

        • OPTIONS

        • PATCH

        • POST

        • PUT

        • ALL

        ALL is a special value that includes all of the listed HTTP methods.

        Parameters:
        items - The list of HTTP methods. Valid values are:

        • GET

        • DELETE

        • HEAD

        • OPTIONS

        • PATCH

        • POST

        • PUT

        • ALL

        ALL is a special value that includes all of the listed HTTP methods.

        Returns:
        Returns a reference to this object so that method calls can be chained together.