code: public WorkspaceDirectory withIpGroupIds(String... ipGroupIds) {
          if (this.ipGroupIds == null) {
              setIpGroupIds(new com.amazonaws.internal.SdkInternalList<String>(ipGroupIds.length));
          }
          for (String ele : ipGroupIds) {
              this.ipGroupIds.add(ele);
          }
          return this;
      }
docs: <p>
  The identifiers of the IP access control groups associated with the directory.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setIpGroupIds(java.util.Collection)} or {@link #withIpGroupIds(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param ipGroupIds
  The identifiers of the IP access control groups associated with the directory.
  @return Returns a reference to this object so that method calls can be chained together.