public void setAction(String action) {
        this.action = action;
    }
<p>
Configure guardrail action when the PII entity is detected.
</p>

@param action
       Configure guardrail action when the PII entity is detected.
@see GuardrailSensitiveInformationAction
aws-java-sdk-bedrock/src/main/java/com/amazonaws/services/bedrock/model/GuardrailPiiEntityConfig.java