public CreateAutoScalingGroupRequest withLifecycleHookSpecificationList(LifecycleHookSpecification... lifecycleHookSpecificationList) {
        if (this.lifecycleHookSpecificationList == null) {
            setLifecycleHookSpecificationList(new com.amazonaws.internal.SdkInternalList<LifecycleHookSpecification>(lifecycleHookSpecificationList.length));
        }
        for (LifecycleHookSpecification ele : lifecycleHookSpecificationList) {
            this.lifecycleHookSpecificationList.add(ele);
        }
        return this;
    }
<p>
One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLifecycleHookSpecificationList(java.util.Collection)} or
{@link #withLifecycleHookSpecificationList(java.util.Collection)} if you want to override the existing values.
</p>

@param lifecycleHookSpecificationList
       One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/CreateAutoScalingGroupRequest.java