Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineDatadogLogsDestinationRoute object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Name of the environment variable or secret that stores the Datadog API key used by this route.A Datadog search query that determines which logs are forwarded using this route.Unique identifier for this route within the destination.getSite()Datadog site where matching logs are sent (for example,us1).inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetApiKeyKey(String apiKeyKey) voidsetInclude(String include) voidsetRouteId(String routeId) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_API_KEY_KEY
- See Also:
-
JSON_PROPERTY_INCLUDE
- See Also:
-
JSON_PROPERTY_ROUTE_ID
- See Also:
-
JSON_PROPERTY_SITE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineDatadogLogsDestinationRoute
public ObservabilityPipelineDatadogLogsDestinationRoute()
-
-
Method Details
-
apiKeyKey
-
getApiKeyKey
Name of the environment variable or secret that stores the Datadog API key used by this route.- Returns:
- apiKeyKey
-
setApiKeyKey
-
include
-
getInclude
A Datadog search query that determines which logs are forwarded using this route.- Returns:
- include
-
setInclude
-
routeId
-
getRouteId
Unique identifier for this route within the destination.- Returns:
- routeId
-
setRouteId
-
site
-
getSite
Datadog site where matching logs are sent (for example,us1).- Returns:
- site
-
setSite
-
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 setvalue- The associated value- Returns:
- ObservabilityPipelineDatadogLogsDestinationRoute
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this ObservabilityPipelineDatadogLogsDestinationRoute object is equal to o. -
hashCode
public int hashCode() -
toString
-