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