StructuredPojo
, ToCopyableBuilder<SizeConstraintSetUpdate.Builder,SizeConstraintSetUpdate>
@Generated("software.amazon.awssdk:codegen") public class SizeConstraintSetUpdate extends Object implements StructuredPojo, ToCopyableBuilder<SizeConstraintSetUpdate.Builder,SizeConstraintSetUpdate>
Specifies the part of a web request that you want to inspect the size of and indicates whether you want to add the
specification to a SizeConstraintSet or delete it from a SizeConstraintSet
.
Modifier and Type | Class | Description |
---|---|---|
static interface |
SizeConstraintSetUpdate.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
action() |
|
static SizeConstraintSetUpdate.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends SizeConstraintSetUpdate.Builder> |
serializableBuilderClass() |
|
SizeConstraint |
sizeConstraint() |
Specifies a constraint on the size of a part of the web request.
|
SizeConstraintSetUpdate.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String action()
Specify INSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE
to remove a SizeConstraintSetUpdate
from a SizeConstraintSet
.
INSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE
to remove a SizeConstraintSetUpdate
from a
SizeConstraintSet
.ChangeAction
public SizeConstraint sizeConstraint()
Specifies a constraint on the size of a part of the web request. AWS WAF uses the Size
,
ComparisonOperator
, and FieldToMatch
to build an expression in the form of "
Size
ComparisonOperator
size in bytes of FieldToMatch
". If that expression
is true, the SizeConstraint
is considered to match.
Size
,
ComparisonOperator
, and FieldToMatch
to build an expression in the form of "
Size
ComparisonOperator
size in bytes of FieldToMatch
". If that
expression is true, the SizeConstraint
is considered to match.public SizeConstraintSetUpdate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SizeConstraintSetUpdate.Builder,SizeConstraintSetUpdate>
public static SizeConstraintSetUpdate.Builder builder()
public static Class<? extends SizeConstraintSetUpdate.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.