Package com.datadog.api.client.v2.model
Class ObservabilityPipelineHttpClientSource
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineHttpClientSource
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineHttpClientSource
extends Object
The
http_client source scrapes logs from HTTP endpoints at regular intervals.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineHttpClientSource(ObservabilityPipelineDecoding decoding, String id, ObservabilityPipelineHttpClientSourceType type) -
Method Summary
Modifier and TypeMethodDescriptiondecoding(ObservabilityPipelineDecoding decoding) endpointUrlKey(String endpointUrlKey) booleanReturn true if this ObservabilityPipelineHttpClientSource object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Optional authentication strategy for HTTP requests.Name of the environment variable or secret that holds a custom header value (used with custom auth strategies).The decoding format used to interpret incoming logs.Name of the environment variable or secret that holds the HTTP endpoint URL to scrape.getId()The unique identifier for this component.Name of the environment variable or secret that holds the password (used whenauth_strategyisbasic).The interval (in seconds) between HTTP scrape requests.The timeout (in seconds) for each scrape request.getTls()Configuration for enabling TLS encryption between the pipeline component and external services.Name of the environment variable or secret that holds the bearer token (used whenauth_strategyisbearer).getType()The source type.Name of the environment variable or secret that holds the username (used whenauth_strategyisbasic).inthashCode()passwordKey(String passwordKey) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.scrapeIntervalSecs(Long scrapeIntervalSecs) scrapeTimeoutSecs(Long scrapeTimeoutSecs) voidvoidsetCustomKey(String customKey) voidsetDecoding(ObservabilityPipelineDecoding decoding) voidsetEndpointUrlKey(String endpointUrlKey) voidvoidsetPasswordKey(String passwordKey) voidsetScrapeIntervalSecs(Long scrapeIntervalSecs) voidsetScrapeTimeoutSecs(Long scrapeTimeoutSecs) voidvoidsetTokenKey(String tokenKey) voidvoidsetUsernameKey(String usernameKey) toString()usernameKey(String usernameKey)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTH_STRATEGY
- See Also:
-
JSON_PROPERTY_CUSTOM_KEY
- See Also:
-
JSON_PROPERTY_DECODING
- See Also:
-
JSON_PROPERTY_ENDPOINT_URL_KEY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_PASSWORD_KEY
- See Also:
-
JSON_PROPERTY_SCRAPE_INTERVAL_SECS
- See Also:
-
JSON_PROPERTY_SCRAPE_TIMEOUT_SECS
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TOKEN_KEY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_USERNAME_KEY
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineHttpClientSource
public ObservabilityPipelineHttpClientSource() -
ObservabilityPipelineHttpClientSource
public ObservabilityPipelineHttpClientSource(ObservabilityPipelineDecoding decoding, String id, ObservabilityPipelineHttpClientSourceType type)
-
-
Method Details
-
authStrategy
public ObservabilityPipelineHttpClientSource authStrategy(ObservabilityPipelineHttpClientSourceAuthStrategy authStrategy) -
getAuthStrategy
Optional authentication strategy for HTTP requests.- Returns:
- authStrategy
-
setAuthStrategy
-
customKey
-
getCustomKey
Name of the environment variable or secret that holds a custom header value (used with custom auth strategies).- Returns:
- customKey
-
setCustomKey
-
decoding
-
getDecoding
The decoding format used to interpret incoming logs.- Returns:
- decoding
-
setDecoding
-
endpointUrlKey
-
getEndpointUrlKey
Name of the environment variable or secret that holds the HTTP endpoint URL to scrape.- Returns:
- endpointUrlKey
-
setEndpointUrlKey
-
id
-
getId
The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as theinputto downstream components).- Returns:
- id
-
setId
-
passwordKey
-
getPasswordKey
Name of the environment variable or secret that holds the password (used whenauth_strategyisbasic).- Returns:
- passwordKey
-
setPasswordKey
-
scrapeIntervalSecs
-
getScrapeIntervalSecs
The interval (in seconds) between HTTP scrape requests.- Returns:
- scrapeIntervalSecs
-
setScrapeIntervalSecs
-
scrapeTimeoutSecs
-
getScrapeTimeoutSecs
The timeout (in seconds) for each scrape request.- Returns:
- scrapeTimeoutSecs
-
setScrapeTimeoutSecs
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external services.- Returns:
- tls
-
setTls
-
tokenKey
-
getTokenKey
Name of the environment variable or secret that holds the bearer token (used whenauth_strategyisbearer).- Returns:
- tokenKey
-
setTokenKey
-
type
-
getType
The source type. The value should always behttp_client.- Returns:
- type
-
setType
-
usernameKey
-
getUsernameKey
Name of the environment variable or secret that holds the username (used whenauth_strategyisbasic).- Returns:
- usernameKey
-
setUsernameKey
-
putAdditionalProperty
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:
- ObservabilityPipelineHttpClientSource
-
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 ObservabilityPipelineHttpClientSource object is equal to o. -
hashCode
public int hashCode() -
toString
-