code: public ResourceChange withDetails(ResourceChangeDetail... details) {
          if (this.details == null) {
              setDetails(new java.util.ArrayList<ResourceChangeDetail>(details.length));
          }
          for (ResourceChangeDetail ele : details) {
              this.details.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the resource changes.
  </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
  Information about the resource changes.
  @return Returns a reference to this object so that method calls can be chained together.