@Public
  @Deprecated
  public static ApplicationAttemptId toApplicationAttemptId(
      String applicationAttemptIdStr) {
    return ApplicationAttemptId.fromString(applicationAttemptIdStr);
  }
@Test
  @SuppressWarnings("deprecation")
  void testInvalidAppattemptId() {
    assertThrows(IllegalArgumentException.class, () -> {
      ConverterUtils.toApplicationAttemptId("appattempt_1423221031460");
    });
  }