code: public void setSecrets(java.util.Collection<Secret> secrets) {
          if (secrets == null) {
              this.secrets = null;
              return;
          }
  
          this.secrets = new com.amazonaws.internal.SdkInternalList<Secret>(secrets);
      }
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>
  
  @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>.