@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailRegexConfig extends Object implements Serializable, Cloneable, StructuredPojo
The regular expression to configure for the guardrail.
| Constructor and Description |
|---|
GuardrailRegexConfig() |
| Modifier and Type | Method and Description |
|---|---|
GuardrailRegexConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The guardrail action to configure when matching regular expression is detected.
|
String |
getDescription()
The description of the regular expression to configure for the guardrail.
|
String |
getName()
The name of the regular expression to configure for the guardrail.
|
String |
getPattern()
The regular expression pattern to configure for the guardrail.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(String action)
The guardrail action to configure when matching regular expression is detected.
|
void |
setDescription(String description)
The description of the regular expression to configure for the guardrail.
|
void |
setName(String name)
The name of the regular expression to configure for the guardrail.
|
void |
setPattern(String pattern)
The regular expression pattern to configure for the guardrail.
|
String |
toString()
Returns a string representation of this object.
|
GuardrailRegexConfig |
withAction(GuardrailSensitiveInformationAction action)
The guardrail action to configure when matching regular expression is detected.
|
GuardrailRegexConfig |
withAction(String action)
The guardrail action to configure when matching regular expression is detected.
|
GuardrailRegexConfig |
withDescription(String description)
The description of the regular expression to configure for the guardrail.
|
GuardrailRegexConfig |
withName(String name)
The name of the regular expression to configure for the guardrail.
|
GuardrailRegexConfig |
withPattern(String pattern)
The regular expression pattern to configure for the guardrail.
|
public void setName(String name)
The name of the regular expression to configure for the guardrail.
name - The name of the regular expression to configure for the guardrail.public String getName()
The name of the regular expression to configure for the guardrail.
public GuardrailRegexConfig withName(String name)
The name of the regular expression to configure for the guardrail.
name - The name of the regular expression to configure for the guardrail.public void setDescription(String description)
The description of the regular expression to configure for the guardrail.
description - The description of the regular expression to configure for the guardrail.public String getDescription()
The description of the regular expression to configure for the guardrail.
public GuardrailRegexConfig withDescription(String description)
The description of the regular expression to configure for the guardrail.
description - The description of the regular expression to configure for the guardrail.public void setPattern(String pattern)
The regular expression pattern to configure for the guardrail.
pattern - The regular expression pattern to configure for the guardrail.public String getPattern()
The regular expression pattern to configure for the guardrail.
public GuardrailRegexConfig withPattern(String pattern)
The regular expression pattern to configure for the guardrail.
pattern - The regular expression pattern to configure for the guardrail.public void setAction(String action)
The guardrail action to configure when matching regular expression is detected.
action - The guardrail action to configure when matching regular expression is detected.GuardrailSensitiveInformationActionpublic String getAction()
The guardrail action to configure when matching regular expression is detected.
GuardrailSensitiveInformationActionpublic GuardrailRegexConfig withAction(String action)
The guardrail action to configure when matching regular expression is detected.
action - The guardrail action to configure when matching regular expression is detected.GuardrailSensitiveInformationActionpublic GuardrailRegexConfig withAction(GuardrailSensitiveInformationAction action)
The guardrail action to configure when matching regular expression is detected.
action - The guardrail action to configure when matching regular expression is detected.GuardrailSensitiveInformationActionpublic String toString()
toString in class ObjectObject.toString()public GuardrailRegexConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.