@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.GuardrailSensitiveInformationAction
public String getAction()
The guardrail action to configure when matching regular expression is detected.
GuardrailSensitiveInformationAction
public 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.GuardrailSensitiveInformationAction
public 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.GuardrailSensitiveInformationAction
public String toString()
toString
in class Object
Object.toString()
public GuardrailRegexConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.