code: public void setAgentVersions(java.util.Collection<AgentVersion> agentVersions) {
          if (agentVersions == null) {
              this.agentVersions = null;
              return;
          }
  
          this.agentVersions = new com.amazonaws.internal.SdkInternalList<AgentVersion>(agentVersions);
      }
docs: <p>
  The agent versions for the specified stack or configuration manager. Note that this value is the complete version
  number, not the abbreviated number used by the console.
  </p>
  
  @param agentVersions
  The agent versions for the specified stack or configuration manager. Note that this value is the complete
  version number, not the abbreviated number used by the console.