public static void deleteAutoScalingGroup() { DeleteAutoScalingGroupRequest request = new DeleteAutoScalingGroupRequest(); request.setAutoScalingGroupName("ProjectTwoAutoScaleGroup"); request.setForceDelete(true); scaleClient.deleteAutoScalingGroup(request); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DeleteAutoScalingGroupRequest == false) return false; DeleteAutoScalingGroupRequest other = (DeleteAutoScalingGroupRequest) obj; if (other.getAutoScalingGroupName() == null ^ this.getAutoScalingGroupName() == null) return false; if (other.getAutoScalingGroupName() != null && other.getAutoScalingGroupName().equals(this.getAutoScalingGroupName()) == false) return false; if (other.getForceDelete() == null ^ this.getForceDelete() == null) return false; if (other.getForceDelete() != null && other.getForceDelete().equals(this.getForceDelete()) == false) return false; return true; }