public static Builder builder(String testId) {
    return new Builder(testId);
  }
@Test
  public void testCreateResourceManagerThrowsCustomPortErrorWhenUsingStaticContainer() {
    assertThat(
            assertThrows(
                    SplunkResourceManagerException.class,
                    () ->
                        SplunkResourceManager.builder(TEST_ID)
                            .setHost(HOST)
                            .useStaticContainer()
                            .build())
                .getMessage())
        .containsMatch("the hecPort and splunkdPort were not properly set");
  }