public UpdateAgentRequest withGuardrailConfiguration(GuardrailConfiguration guardrailConfiguration) {
        setGuardrailConfiguration(guardrailConfiguration);
        return this;
    }
<p>
The unique Guardrail configuration assigned to the agent when it is updated.
</p>

@param guardrailConfiguration
       The unique Guardrail configuration assigned to the agent when it is updated.
@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/UpdateAgentRequest.java