@Generated(value="software.amazon.awssdk:codegen") public final class SizeConstraintSetUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SizeConstraintSetUpdate.Builder,SizeConstraintSetUpdate>
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
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 |
actionAsString()
|
static SizeConstraintSetUpdate.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SizeConstraintSetUpdate.Builder> |
serializableBuilderClass() |
SizeConstraint |
sizeConstraint()
Specifies a constraint on the size of a part of the web request.
|
SizeConstraintSetUpdate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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
actionAsString().
INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a
SizeConstraintSet.ChangeActionpublic final String actionAsString()
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
actionAsString().
INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a
SizeConstraintSet.ChangeActionpublic final 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()
toBuilder in interface ToCopyableBuilder<SizeConstraintSetUpdate.Builder,SizeConstraintSetUpdate>public static SizeConstraintSetUpdate.Builder builder()
public static Class<? extends SizeConstraintSetUpdate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.