Class ObservabilityPipelineDatadogLogsDestinationRoute

java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineDatadogLogsDestinationRoute

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ObservabilityPipelineDatadogLogsDestinationRoute extends Object
Defines how the datadog_logs destination routes matching logs to a Datadog site using a specific API key.
  • Field Details

  • Constructor Details

    • ObservabilityPipelineDatadogLogsDestinationRoute

      public ObservabilityPipelineDatadogLogsDestinationRoute()
  • Method Details

    • apiKeyKey

    • getApiKeyKey

      @Nullable public String getApiKeyKey()
      Name of the environment variable or secret that stores the Datadog API key used by this route.
      Returns:
      apiKeyKey
    • setApiKeyKey

      public void setApiKeyKey(String apiKeyKey)
    • include

    • getInclude

      @Nullable public String getInclude()
      A Datadog search query that determines which logs are forwarded using this route.
      Returns:
      include
    • setInclude

      public void setInclude(String include)
    • routeId

    • getRouteId

      @Nullable public String getRouteId()
      Unique identifier for this route within the destination.
      Returns:
      routeId
    • setRouteId

      public void setRouteId(String routeId)
    • site

    • getSite

      @Nullable public String getSite()
      Datadog site where matching logs are sent (for example, us1).
      Returns:
      site
    • setSite

      public void setSite(String site)
    • putAdditionalProperty

      public ObservabilityPipelineDatadogLogsDestinationRoute putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      ObservabilityPipelineDatadogLogsDestinationRoute
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this ObservabilityPipelineDatadogLogsDestinationRoute object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object