code: public CreateNetworkInterfaceRequest withPrivateIpAddresses(PrivateIpAddressSpecification... privateIpAddresses) {
          if (this.privateIpAddresses == null) {
              setPrivateIpAddresses(new com.amazonaws.internal.SdkInternalList<PrivateIpAddressSpecification>(privateIpAddresses.length));
          }
          for (PrivateIpAddressSpecification ele : privateIpAddresses) {
              this.privateIpAddresses.add(ele);
          }
          return this;
      }
docs: <p>
  One or more private IPv4 addresses.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPrivateIpAddresses(java.util.Collection)} or {@link #withPrivateIpAddresses(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param privateIpAddresses
  One or more private IPv4 addresses.
  @return Returns a reference to this object so that method calls can be chained together.