code: public void setIpPermissions(java.util.Collection<IpPermission> ipPermissions) {
          if (ipPermissions == null) {
              this.ipPermissions = null;
              return;
          }
  
          this.ipPermissions = new com.amazonaws.internal.SdkInternalList<IpPermission>(ipPermissions);
      }
docs: <p>
  The sets of IP permissions.
  </p>
  
  @param ipPermissions
  The sets of IP permissions.