code: public void setEc2AmiResources(java.util.Collection<Ec2AmiResource> ec2AmiResources) {
          if (ec2AmiResources == null) {
              this.ec2AmiResources = null;
              return;
          }
  
          this.ec2AmiResources = new java.util.ArrayList<Ec2AmiResource>(ec2AmiResources);
      }
docs: <p>
  The Amazon Machine Images (AMIs) associated with this job.
  </p>
  
  @param ec2AmiResources
  The Amazon Machine Images (AMIs) associated with this job.