Interface ResponseHeadersPolicyAccessControlAllowMethods.Builder

  • Method Details

    • quantity

      The number of HTTP methods in the list.

      Parameters:
      quantity - The number of HTTP methods in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • itemsWithStrings

      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

      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

      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

      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.