@Stability(value=Stable)
public static interface CfnWebACL.SizeConstraintStatementProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wafv2.*;
Object all;
Object allQueryArguments;
Object body;
Object method;
Object queryString;
Object singleHeader;
Object singleQueryArgument;
Object uriPath;
SizeConstraintStatementProperty sizeConstraintStatementProperty = SizeConstraintStatementProperty.builder()
.comparisonOperator("comparisonOperator")
.fieldToMatch(FieldToMatchProperty.builder()
.allQueryArguments(allQueryArguments)
.body(body)
.jsonBody(JsonBodyProperty.builder()
.matchPattern(JsonMatchPatternProperty.builder()
.all(all)
.includedPaths(List.of("includedPaths"))
.build())
.matchScope("matchScope")
// the properties below are optional
.invalidFallbackBehavior("invalidFallbackBehavior")
.build())
.method(method)
.queryString(queryString)
.singleHeader(singleHeader)
.singleQueryArgument(singleQueryArgument)
.uriPath(uriPath)
.build())
.size(123)
.textTransformations(List.of(TextTransformationProperty.builder()
.priority(123)
.type("type")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnWebACL.SizeConstraintStatementProperty.Builder
A builder for
CfnWebACL.SizeConstraintStatementProperty |
static class |
CfnWebACL.SizeConstraintStatementProperty.Jsii$Proxy
An implementation for
CfnWebACL.SizeConstraintStatementProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnWebACL.SizeConstraintStatementProperty.Builder |
builder() |
String |
getComparisonOperator()
`CfnWebACL.SizeConstraintStatementProperty.ComparisonOperator`.
|
Object |
getFieldToMatch()
`CfnWebACL.SizeConstraintStatementProperty.FieldToMatch`.
|
Number |
getSize()
`CfnWebACL.SizeConstraintStatementProperty.Size`.
|
Object |
getTextTransformations()
`CfnWebACL.SizeConstraintStatementProperty.TextTransformations`.
|
@Stability(value=Stable) @NotNull String getComparisonOperator()
@Stability(value=Stable) @NotNull Object getFieldToMatch()
@Stability(value=Stable) @NotNull Number getSize()
@Stability(value=Stable) @NotNull Object getTextTransformations()
@Stability(value=Stable) static CfnWebACL.SizeConstraintStatementProperty.Builder builder()
Copyright © 2021. All rights reserved.