@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)
Marshalls this structured data using the given
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.GuardrailPiiEntityType
public String getType()
Configure guardrail type when the PII entity is detected.
GuardrailPiiEntityType
public GuardrailPiiEntityConfig withType(String type)
Configure guardrail type when the PII entity is detected.
type
- Configure guardrail type when the PII entity is detected.GuardrailPiiEntityType
public GuardrailPiiEntityConfig withType(GuardrailPiiEntityType type)
Configure guardrail type when the PII entity is detected.
type
- Configure guardrail type when the PII entity is detected.GuardrailPiiEntityType
public void setAction(String action)
Configure guardrail action when the PII entity is detected.
action
- Configure guardrail action when the PII entity is detected.GuardrailSensitiveInformationAction
public String getAction()
Configure guardrail action when the PII entity is detected.
GuardrailSensitiveInformationAction
public GuardrailPiiEntityConfig withAction(String action)
Configure guardrail action when the PII entity is detected.
action
- Configure guardrail action when the PII entity is detected.GuardrailSensitiveInformationAction
public GuardrailPiiEntityConfig withAction(GuardrailSensitiveInformationAction action)
Configure guardrail action when the PII entity is detected.
action
- Configure guardrail action when the PII entity is detected.GuardrailSensitiveInformationAction
public String toString()
toString
in class Object
Object.toString()
public GuardrailPiiEntityConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.