code: public Ec2Config withSecurityGroupArns(String... securityGroupArns) {
          if (this.securityGroupArns == null) {
              setSecurityGroupArns(new java.util.ArrayList<String>(securityGroupArns.length));
          }
          for (String ele : securityGroupArns) {
              this.securityGroupArns.add(ele);
          }
          return this;
      }
docs: <p>
  The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSecurityGroupArns(java.util.Collection)} or {@link #withSecurityGroupArns(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param securityGroupArns
  The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.
  @return Returns a reference to this object so that method calls can be chained together.