Class DatadogResourceManager.Builder

java.lang.Object
org.apache.beam.it.testcontainers.TestContainerResourceManager.Builder<DatadogResourceManager>
org.apache.beam.it.datadog.DatadogResourceManager.Builder
Enclosing class:
DatadogResourceManager

public static final class DatadogResourceManager.Builder extends org.apache.beam.it.testcontainers.TestContainerResourceManager.Builder<DatadogResourceManager>
  • Field Summary

    Fields inherited from class org.apache.beam.it.testcontainers.TestContainerResourceManager.Builder

    containerImageName, containerImageTag, host, port, testId, useStaticContainer
  • Method Summary

    Modifier and Type
    Method
    Description
     
    setApiKey(String apiKey)
    Manually set the Datadog API key to the given key.

    Methods inherited from class org.apache.beam.it.testcontainers.TestContainerResourceManager.Builder

    setContainerImageName, setContainerImageTag, setHost, setPort, useStaticContainer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • setApiKey

      public DatadogResourceManager.Builder setApiKey(String apiKey)
      Manually set the Datadog API key to the given key. This key will be used by the resource manager to authenticate with the mock Datadog server.
      Parameters:
      apiKey - the API key for the mock Datadog server.
      Returns:
      this builder with the API key manually set.
    • build

      public DatadogResourceManager build()
      Specified by:
      build in class org.apache.beam.it.testcontainers.TestContainerResourceManager.Builder<DatadogResourceManager>