code: public ContainerDefinition withSecrets(Secret... secrets) {
          if (this.secrets == null) {
              setSecrets(new com.amazonaws.internal.SdkInternalList<Secret>(secrets.length));
          }
          for (Secret ele : secrets) {
              this.secrets.add(ele);
          }
          return this;
      }
docs: <p>
  The secrets to pass to the container. For more information, see <a
  href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html">Specifying
  Sensitive Data</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSecrets(java.util.Collection)} or {@link #withSecrets(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param secrets
  The secrets to pass to the container. For more information, see <a
  href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html"
  >Specifying Sensitive Data</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
  @return Returns a reference to this object so that method calls can be chained together.