public void setAgentArn(String agentArn) {
        this.agentArn = agentArn;
    }
<p>
The Amazon Resource Name (ARN) of the agent that the version belongs to.
</p>

@param agentArn
       The Amazon Resource Name (ARN) of the agent that the version belongs to.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/AgentVersion.java