Class SizeConstraintSetSizeConstraintFieldToMatchArgs.Builder

    • Method Detail

      • data

        public SizeConstraintSetSizeConstraintFieldToMatchArgs.Builder data​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.String> data)
        Parameters:
        data - When the `type` is `HEADER`, specify the name of the header that you want to search using the `data` field, for example, `User-Agent` or `Referer`. If the `type` is any other value, you can omit this field.
        Returns:
        builder
      • data

        public SizeConstraintSetSizeConstraintFieldToMatchArgs.Builder data​(java.lang.String data)
        Parameters:
        data - When the `type` is `HEADER`, specify the name of the header that you want to search using the `data` field, for example, `User-Agent` or `Referer`. If the `type` is any other value, you can omit this field.
        Returns:
        builder
      • type

        public SizeConstraintSetSizeConstraintFieldToMatchArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Part of the web request that you want AWS WAF to search for a specified string. For example, `HEADER`, `METHOD`, or `BODY`. See the [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_FieldToMatch.html) for all supported values.
        Returns:
        builder
      • type

        public SizeConstraintSetSizeConstraintFieldToMatchArgs.Builder type​(java.lang.String type)
        Parameters:
        type - Part of the web request that you want AWS WAF to search for a specified string. For example, `HEADER`, `METHOD`, or `BODY`. See the [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_FieldToMatch.html) for all supported values.
        Returns:
        builder