public String getAction() {
        return this.action;
    }
<p>
The action the guardrail should take when it intervenes on a topic.
</p>

@return The action the guardrail should take when it intervenes on a topic.
@see GuardrailTopicPolicyAction
aws-java-sdk-bedrockruntime/src/main/java/com/amazonaws/services/bedrockruntime/model/GuardrailTopic.java