code: public GetCorsPolicyResult withCorsPolicy(CorsRule... corsPolicy) {
          if (this.corsPolicy == null) {
              setCorsPolicy(new java.util.ArrayList<CorsRule>(corsPolicy.length));
          }
          for (CorsRule ele : corsPolicy) {
              this.corsPolicy.add(ele);
          }
          return this;
      }
docs: <p>
  The CORS policy assigned to the container.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCorsPolicy(java.util.Collection)} or {@link #withCorsPolicy(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param corsPolicy
  The CORS policy assigned to the container.
  @return Returns a reference to this object so that method calls can be chained together.