@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailRegexFilter extends Object implements Serializable, Cloneable, StructuredPojo
A Regex filter configured in a guardrail.
| Constructor and Description |
|---|
GuardrailRegexFilter() |
| Modifier and Type | Method and Description |
|---|---|
GuardrailRegexFilter |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The region filter action.
|
String |
getMatch()
The regesx filter match.
|
String |
getName()
The regex filter name.
|
String |
getRegex()
The regex query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAction(String action)
The region filter action.
|
void |
setMatch(String match)
The regesx filter match.
|
void |
setName(String name)
The regex filter name.
|
void |
setRegex(String regex)
The regex query.
|
String |
toString()
Returns a string representation of this object.
|
GuardrailRegexFilter |
withAction(GuardrailSensitiveInformationPolicyAction action)
The region filter action.
|
GuardrailRegexFilter |
withAction(String action)
The region filter action.
|
GuardrailRegexFilter |
withMatch(String match)
The regesx filter match.
|
GuardrailRegexFilter |
withName(String name)
The regex filter name.
|
GuardrailRegexFilter |
withRegex(String regex)
The regex query.
|
public void setName(String name)
The regex filter name.
name - The regex filter name.public String getName()
The regex filter name.
public GuardrailRegexFilter withName(String name)
The regex filter name.
name - The regex filter name.public void setMatch(String match)
The regesx filter match.
match - The regesx filter match.public String getMatch()
The regesx filter match.
public GuardrailRegexFilter withMatch(String match)
The regesx filter match.
match - The regesx filter match.public void setRegex(String regex)
The regex query.
regex - The regex query.public String getRegex()
The regex query.
public GuardrailRegexFilter withRegex(String regex)
The regex query.
regex - The regex query.public void setAction(String action)
The region filter action.
action - The region filter action.GuardrailSensitiveInformationPolicyActionpublic String getAction()
The region filter action.
GuardrailSensitiveInformationPolicyActionpublic GuardrailRegexFilter withAction(String action)
The region filter action.
action - The region filter action.GuardrailSensitiveInformationPolicyActionpublic GuardrailRegexFilter withAction(GuardrailSensitiveInformationPolicyAction action)
The region filter action.
action - The region filter action.GuardrailSensitiveInformationPolicyActionpublic String toString()
toString in class ObjectObject.toString()public GuardrailRegexFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.