code: public Attachment withDetails(KeyValuePair... details) {
          if (this.details == null) {
              setDetails(new com.amazonaws.internal.SdkInternalList<KeyValuePair>(details.length));
          }
          for (KeyValuePair ele : details) {
              this.details.add(ele);
          }
          return this;
      }
docs: <p>
  Details of the attachment. For elastic network interfaces, this includes the network interface ID, the MAC
  address, the subnet ID, and the private IPv4 address.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDetails(java.util.Collection)} or {@link #withDetails(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param details
  Details of the attachment. For elastic network interfaces, this includes the network interface ID, the MAC
  address, the subnet ID, and the private IPv4 address.
  @return Returns a reference to this object so that method calls can be chained together.