@Generated(value="software.amazon.awssdk:codegen") public class RegexPatternSet extends Object implements StructuredPojo, ToCopyableBuilder<RegexPatternSet.Builder,RegexPatternSet>
The RegexPatternSet specifies the regular expression (regex) pattern that you want AWS WAF to search
for, such as B[a@]dB[o0]t. You can then configure AWS WAF to reject those requests.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RegexPatternSet.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RegexPatternSet.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()
A friendly name or description of the RegexPatternSet.
|
String |
regexPatternSetId()
The identifier for the
RegexPatternSet. |
List<String> |
regexPatternStrings()
Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as
B[a@]dB[o0]t. |
static Class<? extends RegexPatternSet.Builder> |
serializableBuilderClass() |
RegexPatternSet.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String regexPatternSetId()
The identifier for the RegexPatternSet. You use RegexPatternSetId to get information
about a RegexPatternSet, update a RegexPatternSet, remove a
RegexPatternSet from a RegexMatchSet, and delete a RegexPatternSet from
AWS WAF.
RegexMatchSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.
RegexPatternSet. You use RegexPatternSetId to get
information about a RegexPatternSet, update a RegexPatternSet, remove a
RegexPatternSet from a RegexMatchSet, and delete a RegexPatternSet
from AWS WAF.
RegexMatchSetId is returned by CreateRegexPatternSet and by
ListRegexPatternSets.
public String name()
A friendly name or description of the RegexPatternSet. You can't change Name after you create
a RegexPatternSet.
Name after
you create a RegexPatternSet.public List<String> regexPatternStrings()
Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as
B[a@]dB[o0]t.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
B[a@]dB[o0]t.public RegexPatternSet.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<RegexPatternSet.Builder,RegexPatternSet>public static RegexPatternSet.Builder builder()
public static Class<? extends RegexPatternSet.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.