Package com.pulumi.aws.waf.outputs
Class SizeConstraintSetSizeConstraintFieldToMatch
- java.lang.Object
-
- com.pulumi.aws.waf.outputs.SizeConstraintSetSizeConstraintFieldToMatch
-
public final class SizeConstraintSetSizeConstraintFieldToMatch extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSizeConstraintSetSizeConstraintFieldToMatch.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SizeConstraintSetSizeConstraintFieldToMatch.Builderbuilder()static SizeConstraintSetSizeConstraintFieldToMatch.Builderbuilder(SizeConstraintSetSizeConstraintFieldToMatch defaults)java.util.Optional<java.lang.String>data()java.lang.Stringtype()
-
-
-
Method Detail
-
data
public java.util.Optional<java.lang.String> data()
- Returns:
- 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.
-
type
public java.lang.String type()
- Returns:
- 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.
-
builder
public static SizeConstraintSetSizeConstraintFieldToMatch.Builder builder()
-
builder
public static SizeConstraintSetSizeConstraintFieldToMatch.Builder builder(SizeConstraintSetSizeConstraintFieldToMatch defaults)
-
-