public void setFoundationModel(String foundationModel) {
        this.foundationModel = foundationModel;
    }
<p>
The foundation model that the version invokes.
</p>

@param foundationModel
       The foundation model that the version invokes.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/AgentVersion.java