code: public UpdateLicenseSpecificationsForResourceRequest withAddLicenseSpecifications(LicenseSpecification... addLicenseSpecifications) {
          if (this.addLicenseSpecifications == null) {
              setAddLicenseSpecifications(new java.util.ArrayList<LicenseSpecification>(addLicenseSpecifications.length));
          }
          for (LicenseSpecification ele : addLicenseSpecifications) {
              this.addLicenseSpecifications.add(ele);
          }
          return this;
      }
docs: <p>
  License configuration ARNs to be added to a resource.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAddLicenseSpecifications(java.util.Collection)} or
  {@link #withAddLicenseSpecifications(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param addLicenseSpecifications
  License configuration ARNs to be added to a resource.
  @return Returns a reference to this object so that method calls can be chained together.