public static void deleteAutoScalingGroup() {

    DeleteAutoScalingGroupRequest request = new DeleteAutoScalingGroupRequest();
    request.setAutoScalingGroupName("ProjectTwoAutoScaleGroup");
    request.setForceDelete(true);
    scaleClient.deleteAutoScalingGroup(request);
  }
 /**
  * Specifies that the group will be deleted along with all instances associated with the group,
  * without waiting for all instances to be terminated. This parameter also deletes any lifecycle
  * actions associated with the group.
  *
  * @param forceDelete Specifies that the group will be deleted along with all instances associated
  *     with the group, without waiting for all instances to be terminated. This parameter also
  *     deletes any lifecycle actions associated with the group.
  * @return Returns a reference to this object so that method calls can be chained together.
  */
 public DeleteAutoScalingGroupRequest withForceDelete(Boolean forceDelete) {
   setForceDelete(forceDelete);
   return this;
 }