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