code: public void setContainerDefinitions(java.util.Collection<ContainerDefinition> containerDefinitions) {
          if (containerDefinitions == null) {
              this.containerDefinitions = null;
              return;
          }
  
          this.containerDefinitions = new com.amazonaws.internal.SdkInternalList<ContainerDefinition>(containerDefinitions);
      }
docs: <p>
  A list of container definitions in JSON format that describe the different containers that make up your task. For
  more information about container definition parameters and defaults, see <a
  href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Amazon ECS Task
  Definitions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
  </p>
  
  @param containerDefinitions
  A list of container definitions in JSON format that describe the different containers that make up your
  task. For more information about container definition parameters and defaults, see <a
  href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Amazon ECS Task
  Definitions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.