@Generated(value="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 and Description |
---|---|
static interface |
SizeConstraintSetUpdate.Builder |
Modifier and Type | Method and Description |
---|---|
ChangeAction |
action()
|
String |
actionString()
|
static SizeConstraintSetUpdate.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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() |
copy
public ChangeAction action()
Specify INSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE
to remove a SizeConstraintSetUpdate
from a SizeConstraintSet
.
If the service returns an enum value that is not available in the current SDK version, action
will
return ChangeAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionString()
.
INSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE
to remove a SizeConstraintSetUpdate
from a
SizeConstraintSet
.ChangeAction
public String actionString()
Specify INSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE
to remove a SizeConstraintSetUpdate
from a SizeConstraintSet
.
If the service returns an enum value that is not available in the current SDK version, action
will
return ChangeAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionString()
.
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.