code: public void setSecurityGroups(java.util.Collection<SecurityGroup> securityGroups) {
          if (securityGroups == null) {
              this.securityGroups = null;
              return;
          }
  
          this.securityGroups = new com.amazonaws.internal.SdkInternalList<SecurityGroup>(securityGroups);
      }
docs: <p>
  Information about the security groups.
  </p>
  
  @param securityGroups
  Information about the security groups.