Interface NewRelicApiKeyConfig.Builder

  • Method Details

    • apiKey

      New Relic User API Key

      Parameters:
      apiKey - New Relic User API Key
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      NewRelicApiKeyConfig.Builder accountId(String accountId)

      New Relic Account ID

      Parameters:
      accountId - New Relic Account ID
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      New Relic region (US or EU)

      Parameters:
      region - New Relic region (US or EU)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • region

      New Relic region (US or EU)

      Parameters:
      region - New Relic region (US or EU)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • applicationIds

      NewRelicApiKeyConfig.Builder applicationIds(Collection<String> applicationIds)

      List of monitored APM application IDs in New Relic

      Parameters:
      applicationIds - List of monitored APM application IDs in New Relic
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationIds

      NewRelicApiKeyConfig.Builder applicationIds(String... applicationIds)

      List of monitored APM application IDs in New Relic

      Parameters:
      applicationIds - List of monitored APM application IDs in New Relic
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entityGuids

      NewRelicApiKeyConfig.Builder entityGuids(Collection<String> entityGuids)

      List of globally unique IDs for New Relic resources (apps, hosts, services)

      Parameters:
      entityGuids - List of globally unique IDs for New Relic resources (apps, hosts, services)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entityGuids

      NewRelicApiKeyConfig.Builder entityGuids(String... entityGuids)

      List of globally unique IDs for New Relic resources (apps, hosts, services)

      Parameters:
      entityGuids - List of globally unique IDs for New Relic resources (apps, hosts, services)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alertPolicyIds

      NewRelicApiKeyConfig.Builder alertPolicyIds(Collection<String> alertPolicyIds)

      List of alert policy IDs grouping related conditions

      Parameters:
      alertPolicyIds - List of alert policy IDs grouping related conditions
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alertPolicyIds

      NewRelicApiKeyConfig.Builder alertPolicyIds(String... alertPolicyIds)

      List of alert policy IDs grouping related conditions

      Parameters:
      alertPolicyIds - List of alert policy IDs grouping related conditions
      Returns:
      Returns a reference to this object so that method calls can be chained together.