Package com.pulumi.aws.waf.inputs
Class ByteMatchSetByteMatchTupleArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.waf.inputs.ByteMatchSetByteMatchTupleArgs.Builder
-
- Enclosing class:
- ByteMatchSetByteMatchTupleArgs
public static final class ByteMatchSetByteMatchTupleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ByteMatchSetByteMatchTupleArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteMatchSetByteMatchTupleArgsbuild()ByteMatchSetByteMatchTupleArgs.BuilderfieldToMatch(ByteMatchSetByteMatchTupleFieldToMatchArgs fieldToMatch)ByteMatchSetByteMatchTupleArgs.BuilderfieldToMatch(com.pulumi.core.Output<ByteMatchSetByteMatchTupleFieldToMatchArgs> fieldToMatch)ByteMatchSetByteMatchTupleArgs.BuilderpositionalConstraint(com.pulumi.core.Output<java.lang.String> positionalConstraint)ByteMatchSetByteMatchTupleArgs.BuilderpositionalConstraint(java.lang.String positionalConstraint)ByteMatchSetByteMatchTupleArgs.BuildertargetString(com.pulumi.core.Output<java.lang.String> targetString)ByteMatchSetByteMatchTupleArgs.BuildertargetString(java.lang.String targetString)ByteMatchSetByteMatchTupleArgs.BuildertextTransformation(com.pulumi.core.Output<java.lang.String> textTransformation)ByteMatchSetByteMatchTupleArgs.BuildertextTransformation(java.lang.String textTransformation)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ByteMatchSetByteMatchTupleArgs defaults)
-
-
Method Detail
-
fieldToMatch
public ByteMatchSetByteMatchTupleArgs.Builder fieldToMatch(com.pulumi.core.Output<ByteMatchSetByteMatchTupleFieldToMatchArgs> fieldToMatch)
- Parameters:
fieldToMatch- The part of a web request that you want to search, such as a specified header or a query string.- Returns:
- builder
-
fieldToMatch
public ByteMatchSetByteMatchTupleArgs.Builder fieldToMatch(ByteMatchSetByteMatchTupleFieldToMatchArgs fieldToMatch)
- Parameters:
fieldToMatch- The part of a web request that you want to search, such as a specified header or a query string.- Returns:
- builder
-
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
-
build
public ByteMatchSetByteMatchTupleArgs build()
-
-