code: public UpdateDeploymentGroupResult withHooksNotCleanedUp(AutoScalingGroup... hooksNotCleanedUp) {
          if (this.hooksNotCleanedUp == null) {
              setHooksNotCleanedUp(new com.amazonaws.internal.SdkInternalList<AutoScalingGroup>(hooksNotCleanedUp.length));
          }
          for (AutoScalingGroup ele : hooksNotCleanedUp) {
              this.hooksNotCleanedUp.add(ele);
          }
          return this;
      }
docs: <p>
  If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group,
  AWS CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the AWS account. If
  the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the AWS
  account.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setHooksNotCleanedUp(java.util.Collection)} or {@link #withHooksNotCleanedUp(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param hooksNotCleanedUp
  If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling
  group, AWS CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the
  AWS account. If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle
  event hooks from the AWS account.
  @return Returns a reference to this object so that method calls can be chained together.