@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailPiiEntityConfig extends Object implements Serializable, Cloneable, StructuredPojo
The PII entity to configure for the guardrail.
| Constructor and Description |
|---|
GuardrailPiiEntityConfig() |
| Modifier and Type | Method and Description |
|---|---|
GuardrailPiiEntityConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Configure guardrail action when the PII entity is detected.
|
String |
getType()
Configure guardrail type when the PII entity is detected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAction(String action)
Configure guardrail action when the PII entity is detected.
|
void |
setType(String type)
Configure guardrail type when the PII entity is detected.
|
String |
toString()
Returns a string representation of this object.
|
GuardrailPiiEntityConfig |
withAction(GuardrailSensitiveInformationAction action)
Configure guardrail action when the PII entity is detected.
|
GuardrailPiiEntityConfig |
withAction(String action)
Configure guardrail action when the PII entity is detected.
|
GuardrailPiiEntityConfig |
withType(GuardrailPiiEntityType type)
Configure guardrail type when the PII entity is detected.
|
GuardrailPiiEntityConfig |
withType(String type)
Configure guardrail type when the PII entity is detected.
|
public void setType(String type)
Configure guardrail type when the PII entity is detected.
type - Configure guardrail type when the PII entity is detected.GuardrailPiiEntityTypepublic String getType()
Configure guardrail type when the PII entity is detected.
GuardrailPiiEntityTypepublic GuardrailPiiEntityConfig withType(String type)
Configure guardrail type when the PII entity is detected.
type - Configure guardrail type when the PII entity is detected.GuardrailPiiEntityTypepublic GuardrailPiiEntityConfig withType(GuardrailPiiEntityType type)
Configure guardrail type when the PII entity is detected.
type - Configure guardrail type when the PII entity is detected.GuardrailPiiEntityTypepublic void setAction(String action)
Configure guardrail action when the PII entity is detected.
action - Configure guardrail action when the PII entity is detected.GuardrailSensitiveInformationActionpublic String getAction()
Configure guardrail action when the PII entity is detected.
GuardrailSensitiveInformationActionpublic GuardrailPiiEntityConfig withAction(String action)
Configure guardrail action when the PII entity is detected.
action - Configure guardrail action when the PII entity is detected.GuardrailSensitiveInformationActionpublic GuardrailPiiEntityConfig withAction(GuardrailSensitiveInformationAction action)
Configure guardrail action when the PII entity is detected.
action - Configure guardrail action when the PII entity is detected.GuardrailSensitiveInformationActionpublic String toString()
toString in class ObjectObject.toString()public GuardrailPiiEntityConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.