@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)
Marshalls this structured data using the given
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.GuardrailSensitiveInformationPolicyAction
public String getAction()
The region filter action.
GuardrailSensitiveInformationPolicyAction
public GuardrailRegexFilter withAction(String action)
The region filter action.
action
- The region filter action.GuardrailSensitiveInformationPolicyAction
public GuardrailRegexFilter withAction(GuardrailSensitiveInformationPolicyAction action)
The region filter action.
action
- The region filter action.GuardrailSensitiveInformationPolicyAction
public String toString()
toString
in class Object
Object.toString()
public GuardrailRegexFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.