public String getType() {
        return this.type;
    }
<p>
The type behavior that the guardrail should perform when the model detects the topic.
</p>

@return The type behavior that the guardrail should perform when the model detects the topic.
@see GuardrailTopicType
aws-java-sdk-bedrockruntime/src/main/java/com/amazonaws/services/bedrockruntime/model/GuardrailTopic.java