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