@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AllowListCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the criteria for an allow list. The criteria must specify a regular expression (regex) or an S3 object (s3WordsList). It can't specify both.
Constructor and Description |
---|
AllowListCriteria() |
Modifier and Type | Method and Description |
---|---|
AllowListCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getRegex()
The regular expression (regex) that defines the text pattern to ignore.
|
S3WordsList |
getS3WordsList()
The location and name of the S3 object that lists specific text to ignore.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRegex(String regex)
The regular expression (regex) that defines the text pattern to ignore.
|
void |
setS3WordsList(S3WordsList s3WordsList)
The location and name of the S3 object that lists specific text to ignore.
|
String |
toString()
Returns a string representation of this object.
|
AllowListCriteria |
withRegex(String regex)
The regular expression (regex) that defines the text pattern to ignore.
|
AllowListCriteria |
withS3WordsList(S3WordsList s3WordsList)
The location and name of the S3 object that lists specific text to ignore.
|
public void setRegex(String regex)
The regular expression (regex) that defines the text pattern to ignore. The expression can contain as many as 512 characters.
regex
- The regular expression (regex) that defines the text pattern to ignore. The expression can contain
as many as 512 characters.public String getRegex()
The regular expression (regex) that defines the text pattern to ignore. The expression can contain as many as 512 characters.
public AllowListCriteria withRegex(String regex)
The regular expression (regex) that defines the text pattern to ignore. The expression can contain as many as 512 characters.
regex
- The regular expression (regex) that defines the text pattern to ignore. The expression can contain
as many as 512 characters.public void setS3WordsList(S3WordsList s3WordsList)
The location and name of the S3 object that lists specific text to ignore.
s3WordsList
- The location and name of the S3 object that lists specific text to ignore.public S3WordsList getS3WordsList()
The location and name of the S3 object that lists specific text to ignore.
public AllowListCriteria withS3WordsList(S3WordsList s3WordsList)
The location and name of the S3 object that lists specific text to ignore.
s3WordsList
- The location and name of the S3 object that lists specific text to ignore.public String toString()
toString
in class Object
Object.toString()
public AllowListCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.