@Generated(value="software.amazon.awssdk:codegen") public class SizeConstraintSet extends Object implements StructuredPojo, ToCopyableBuilder<SizeConstraintSet.Builder,SizeConstraintSet>
A complex type that contains SizeConstraint objects, which specify the parts of web requests that you
want AWS WAF to inspect the size of. If a SizeConstraintSet contains more than one
SizeConstraint object, a request only needs to match one constraint to be considered a match.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SizeConstraintSet.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SizeConstraintSet.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. |
String |
name()
The name, if any, of the
SizeConstraintSet. |
static Class<? extends SizeConstraintSet.Builder> |
serializableBuilderClass() |
List<SizeConstraint> |
sizeConstraints()
Specifies the parts of web requests that you want to inspect the size of.
|
String |
sizeConstraintSetId()
A unique identifier for a
SizeConstraintSet. |
SizeConstraintSet.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String sizeConstraintSetId()
A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId to get
information about a SizeConstraintSet (see GetSizeConstraintSet), update a
SizeConstraintSet (see UpdateSizeConstraintSet), insert a SizeConstraintSet into
a Rule or delete one from a Rule (see UpdateRule), and delete a
SizeConstraintSet from AWS WAF (see DeleteSizeConstraintSet).
SizeConstraintSetId is returned by CreateSizeConstraintSet and by
ListSizeConstraintSets.
SizeConstraintSet. You use SizeConstraintSetId to get
information about a SizeConstraintSet (see GetSizeConstraintSet), update a
SizeConstraintSet (see UpdateSizeConstraintSet), insert a
SizeConstraintSet into a Rule or delete one from a Rule (see
UpdateRule), and delete a SizeConstraintSet from AWS WAF (see
DeleteSizeConstraintSet).
SizeConstraintSetId is returned by CreateSizeConstraintSet and by
ListSizeConstraintSets.
public String name()
The name, if any, of the SizeConstraintSet.
SizeConstraintSet.public List<SizeConstraint> sizeConstraints()
Specifies the parts of web requests that you want to inspect the size of.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public SizeConstraintSet.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<SizeConstraintSet.Builder,SizeConstraintSet>public static SizeConstraintSet.Builder builder()
public static Class<? extends SizeConstraintSet.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.