public AgentVersionSummary withAgentStatus(String agentStatus) {
        setAgentStatus(agentStatus);
        return this;
    }
<p>
The status of the agent to which the version belongs.
</p>

@param agentStatus
       The status of the agent to which the version belongs.
@return Returns a reference to this object so that method calls can be chained together.
@see AgentStatus
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/AgentVersionSummary.java