Class ByteMatchSetByteMatchTupleArgs.Builder

    • Method Detail

      • positionalConstraint

        public ByteMatchSetByteMatchTupleArgs.Builder positionalConstraint​(com.pulumi.core.Output<java.lang.String> positionalConstraint)
        Parameters:
        positionalConstraint - Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want to search. e.g., `CONTAINS`, `CONTAINS_WORD` or `EXACTLY`. See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchTuple.html#WAF-Type-ByteMatchTuple-PositionalConstraint) for all supported values.
        Returns:
        builder
      • positionalConstraint

        public ByteMatchSetByteMatchTupleArgs.Builder positionalConstraint​(java.lang.String positionalConstraint)
        Parameters:
        positionalConstraint - Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want to search. e.g., `CONTAINS`, `CONTAINS_WORD` or `EXACTLY`. See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchTuple.html#WAF-Type-ByteMatchTuple-PositionalConstraint) for all supported values.
        Returns:
        builder
      • targetString

        public ByteMatchSetByteMatchTupleArgs.Builder targetString​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> targetString)
        Parameters:
        targetString - The value that you want to search for within the field specified by `fieldToMatch`, e.g., `badrefer1`. See [docs](https://docs.aws.amazon.com/waf/latest/APIReference/API_waf_ByteMatchTuple.html) for all supported values.
        Returns:
        builder
      • targetString

        public ByteMatchSetByteMatchTupleArgs.Builder targetString​(java.lang.String targetString)
        Parameters:
        targetString - The value that you want to search for within the field specified by `fieldToMatch`, e.g., `badrefer1`. See [docs](https://docs.aws.amazon.com/waf/latest/APIReference/API_waf_ByteMatchTuple.html) for all supported values.
        Returns:
        builder
      • textTransformation

        public ByteMatchSetByteMatchTupleArgs.Builder textTransformation​(com.pulumi.core.Output<java.lang.String> textTransformation)
        Parameters:
        textTransformation - Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on `targetString` before inspecting a request for a match. e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchTuple.html#WAF-Type-ByteMatchTuple-TextTransformation) for all supported values.
        Returns:
        builder
      • textTransformation

        public ByteMatchSetByteMatchTupleArgs.Builder textTransformation​(java.lang.String textTransformation)
        Parameters:
        textTransformation - Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on `targetString` before inspecting a request for a match. e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchTuple.html#WAF-Type-ByteMatchTuple-TextTransformation) for all supported values.
        Returns:
        builder