@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailSensitiveInformationPolicy extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about PII entities and regular expressions configured for the guardrail.
| Constructor and Description |
|---|
GuardrailSensitiveInformationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
GuardrailSensitiveInformationPolicy |
clone() |
boolean |
equals(Object obj) |
List<GuardrailPiiEntity> |
getPiiEntities()
The list of PII entities configured for the guardrail.
|
List<GuardrailRegex> |
getRegexes()
The list of regular expressions configured for the guardrail.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPiiEntities(Collection<GuardrailPiiEntity> piiEntities)
The list of PII entities configured for the guardrail.
|
void |
setRegexes(Collection<GuardrailRegex> regexes)
The list of regular expressions configured for the guardrail.
|
String |
toString()
Returns a string representation of this object.
|
GuardrailSensitiveInformationPolicy |
withPiiEntities(Collection<GuardrailPiiEntity> piiEntities)
The list of PII entities configured for the guardrail.
|
GuardrailSensitiveInformationPolicy |
withPiiEntities(GuardrailPiiEntity... piiEntities)
The list of PII entities configured for the guardrail.
|
GuardrailSensitiveInformationPolicy |
withRegexes(Collection<GuardrailRegex> regexes)
The list of regular expressions configured for the guardrail.
|
GuardrailSensitiveInformationPolicy |
withRegexes(GuardrailRegex... regexes)
The list of regular expressions configured for the guardrail.
|
public List<GuardrailPiiEntity> getPiiEntities()
The list of PII entities configured for the guardrail.
public void setPiiEntities(Collection<GuardrailPiiEntity> piiEntities)
The list of PII entities configured for the guardrail.
piiEntities - The list of PII entities configured for the guardrail.public GuardrailSensitiveInformationPolicy withPiiEntities(GuardrailPiiEntity... piiEntities)
The list of PII entities configured for the guardrail.
NOTE: This method appends the values to the existing list (if any). Use
setPiiEntities(java.util.Collection) or withPiiEntities(java.util.Collection) if you want to
override the existing values.
piiEntities - The list of PII entities configured for the guardrail.public GuardrailSensitiveInformationPolicy withPiiEntities(Collection<GuardrailPiiEntity> piiEntities)
The list of PII entities configured for the guardrail.
piiEntities - The list of PII entities configured for the guardrail.public List<GuardrailRegex> getRegexes()
The list of regular expressions configured for the guardrail.
public void setRegexes(Collection<GuardrailRegex> regexes)
The list of regular expressions configured for the guardrail.
regexes - The list of regular expressions configured for the guardrail.public GuardrailSensitiveInformationPolicy withRegexes(GuardrailRegex... regexes)
The list of regular expressions configured for the guardrail.
NOTE: This method appends the values to the existing list (if any). Use
setRegexes(java.util.Collection) or withRegexes(java.util.Collection) if you want to override
the existing values.
regexes - The list of regular expressions configured for the guardrail.public GuardrailSensitiveInformationPolicy withRegexes(Collection<GuardrailRegex> regexes)
The list of regular expressions configured for the guardrail.
regexes - The list of regular expressions configured for the guardrail.public String toString()
toString in class ObjectObject.toString()public GuardrailSensitiveInformationPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.