@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailSensitiveInformationPolicyConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about PII entities and regular expressions to configure for the guardrail.
Constructor and Description |
---|
GuardrailSensitiveInformationPolicyConfig() |
Modifier and Type | Method and Description |
---|---|
GuardrailSensitiveInformationPolicyConfig |
clone() |
boolean |
equals(Object obj) |
List<GuardrailPiiEntityConfig> |
getPiiEntitiesConfig()
A list of PII entities to configure to the guardrail.
|
List<GuardrailRegexConfig> |
getRegexesConfig()
A list of regular expressions to configure to the guardrail.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPiiEntitiesConfig(Collection<GuardrailPiiEntityConfig> piiEntitiesConfig)
A list of PII entities to configure to the guardrail.
|
void |
setRegexesConfig(Collection<GuardrailRegexConfig> regexesConfig)
A list of regular expressions to configure to the guardrail.
|
String |
toString()
Returns a string representation of this object.
|
GuardrailSensitiveInformationPolicyConfig |
withPiiEntitiesConfig(Collection<GuardrailPiiEntityConfig> piiEntitiesConfig)
A list of PII entities to configure to the guardrail.
|
GuardrailSensitiveInformationPolicyConfig |
withPiiEntitiesConfig(GuardrailPiiEntityConfig... piiEntitiesConfig)
A list of PII entities to configure to the guardrail.
|
GuardrailSensitiveInformationPolicyConfig |
withRegexesConfig(Collection<GuardrailRegexConfig> regexesConfig)
A list of regular expressions to configure to the guardrail.
|
GuardrailSensitiveInformationPolicyConfig |
withRegexesConfig(GuardrailRegexConfig... regexesConfig)
A list of regular expressions to configure to the guardrail.
|
public GuardrailSensitiveInformationPolicyConfig()
public List<GuardrailPiiEntityConfig> getPiiEntitiesConfig()
A list of PII entities to configure to the guardrail.
public void setPiiEntitiesConfig(Collection<GuardrailPiiEntityConfig> piiEntitiesConfig)
A list of PII entities to configure to the guardrail.
piiEntitiesConfig
- A list of PII entities to configure to the guardrail.public GuardrailSensitiveInformationPolicyConfig withPiiEntitiesConfig(GuardrailPiiEntityConfig... piiEntitiesConfig)
A list of PII entities to configure to the guardrail.
NOTE: This method appends the values to the existing list (if any). Use
setPiiEntitiesConfig(java.util.Collection)
or withPiiEntitiesConfig(java.util.Collection)
if
you want to override the existing values.
piiEntitiesConfig
- A list of PII entities to configure to the guardrail.public GuardrailSensitiveInformationPolicyConfig withPiiEntitiesConfig(Collection<GuardrailPiiEntityConfig> piiEntitiesConfig)
A list of PII entities to configure to the guardrail.
piiEntitiesConfig
- A list of PII entities to configure to the guardrail.public List<GuardrailRegexConfig> getRegexesConfig()
A list of regular expressions to configure to the guardrail.
public void setRegexesConfig(Collection<GuardrailRegexConfig> regexesConfig)
A list of regular expressions to configure to the guardrail.
regexesConfig
- A list of regular expressions to configure to the guardrail.public GuardrailSensitiveInformationPolicyConfig withRegexesConfig(GuardrailRegexConfig... regexesConfig)
A list of regular expressions to configure to the guardrail.
NOTE: This method appends the values to the existing list (if any). Use
setRegexesConfig(java.util.Collection)
or withRegexesConfig(java.util.Collection)
if you want
to override the existing values.
regexesConfig
- A list of regular expressions to configure to the guardrail.public GuardrailSensitiveInformationPolicyConfig withRegexesConfig(Collection<GuardrailRegexConfig> regexesConfig)
A list of regular expressions to configure to the guardrail.
regexesConfig
- A list of regular expressions to configure to the guardrail.public String toString()
toString
in class Object
Object.toString()
public GuardrailSensitiveInformationPolicyConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.