public AgentVersion withGuardrailConfiguration(GuardrailConfiguration guardrailConfiguration) {
        setGuardrailConfiguration(guardrailConfiguration);
        return this;
    }
<p>
Details about the guardrail associated with the agent.
</p>

@param guardrailConfiguration
       Details about the guardrail associated with the agent.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/AgentVersion.java