@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SizeConstraintSetUpdate extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
SizeConstraintSetUpdate() |
| Modifier and Type | Method and Description |
|---|---|
SizeConstraintSetUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
|
SizeConstraint |
getSizeConstraint()
Specifies a constraint on the size of a part of the web request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(ChangeAction action)
|
void |
setAction(String action)
|
void |
setSizeConstraint(SizeConstraint sizeConstraint)
Specifies a constraint on the size of a part of the web request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SizeConstraintSetUpdate |
withAction(ChangeAction action)
|
SizeConstraintSetUpdate |
withAction(String action)
|
SizeConstraintSetUpdate |
withSizeConstraint(SizeConstraint sizeConstraint)
Specifies a constraint on the size of a part of the web request.
|
public void setAction(String action)
Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet.
action - Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet
.ChangeActionpublic String getAction()
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.ChangeActionpublic SizeConstraintSetUpdate withAction(String action)
Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet.
action - Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet
.ChangeActionpublic void setAction(ChangeAction action)
Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet.
action - Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet
.ChangeActionpublic SizeConstraintSetUpdate withAction(ChangeAction action)
Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet.
action - Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet
.ChangeActionpublic void setSizeConstraint(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.
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.public SizeConstraint getSizeConstraint()
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 withSizeConstraint(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.
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.public String toString()
toString in class ObjectObject.toString()public SizeConstraintSetUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.