Package com.datadog.api.client.v2.model
Class ObservabilityPipelineHttpClientDestination
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineHttpClientDestination
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineHttpClientDestination
extends Object
The
http_client destination sends data to an HTTP endpoint.
Supported pipeline types: logs, metrics
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineHttpClientDestination(ObservabilityPipelineHttpClientDestinationEncoding encoding, String id, List<String> inputs, ObservabilityPipelineHttpClientDestinationType type) -
Method Summary
Modifier and TypeMethodDescriptionaddInputsItem(String inputsItem) booleanReturn true if this ObservabilityPipelineHttpClientDestination object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.HTTP authentication strategy.Configuration for buffer settings on destination components.Compression configuration for HTTP requests.Name of the environment variable or secret that holds a custom header value (used with custom auth strategies).Encoding format for log events.getId()The unique identifier for this component.A list of component IDs whose output is used as the input for this component.Name of the environment variable or secret that holds the password (used whenauth_strategyisbasic).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 destination type.Name of the environment variable or secret that holds the HTTP endpoint URI.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.voidvoidvoidvoidsetCustomKey(String customKey) voidvoidvoidvoidsetPasswordKey(String passwordKey) voidvoidsetTokenKey(String tokenKey) voidvoidvoidsetUsernameKey(String usernameKey) toString()usernameKey(String usernameKey)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTH_STRATEGY
- See Also:
-
JSON_PROPERTY_BUFFER
- See Also:
-
JSON_PROPERTY_COMPRESSION
- See Also:
-
JSON_PROPERTY_CUSTOM_KEY
- See Also:
-
JSON_PROPERTY_ENCODING
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_PASSWORD_KEY
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TOKEN_KEY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_URI_KEY
- See Also:
-
JSON_PROPERTY_USERNAME_KEY
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineHttpClientDestination
public ObservabilityPipelineHttpClientDestination() -
ObservabilityPipelineHttpClientDestination
public ObservabilityPipelineHttpClientDestination(ObservabilityPipelineHttpClientDestinationEncoding encoding, String id, List<String> inputs, ObservabilityPipelineHttpClientDestinationType type)
-
-
Method Details
-
authStrategy
public ObservabilityPipelineHttpClientDestination authStrategy(ObservabilityPipelineHttpClientDestinationAuthStrategy authStrategy) -
getAuthStrategy
HTTP authentication strategy.- Returns:
- authStrategy
-
setAuthStrategy
-
buffer
-
getBuffer
Configuration for buffer settings on destination components.- Returns:
- buffer
-
setBuffer
-
compression
public ObservabilityPipelineHttpClientDestination compression(ObservabilityPipelineHttpClientDestinationCompression compression) -
getCompression
Compression configuration for HTTP requests.- Returns:
- compression
-
setCompression
-
customKey
-
getCustomKey
Name of the environment variable or secret that holds a custom header value (used with custom auth strategies).- Returns:
- customKey
-
setCustomKey
-
encoding
public ObservabilityPipelineHttpClientDestination encoding(ObservabilityPipelineHttpClientDestinationEncoding encoding) -
getEncoding
Encoding format for log events.- Returns:
- encoding
-
setEncoding
-
id
-
getId
The unique identifier for this component.- Returns:
- id
-
setId
-
inputs
-
addInputsItem
-
getInputs
A list of component IDs whose output is used as the input for this component.- Returns:
- inputs
-
setInputs
-
passwordKey
-
getPasswordKey
Name of the environment variable or secret that holds the password (used whenauth_strategyisbasic).- Returns:
- passwordKey
-
setPasswordKey
-
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 destination type. The value should always behttp_client.- Returns:
- type
-
setType
-
uriKey
-
getUriKey
Name of the environment variable or secret that holds the HTTP endpoint URI.- Returns:
- uriKey
-
setUriKey
-
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:
- ObservabilityPipelineHttpClientDestination
-
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 ObservabilityPipelineHttpClientDestination object is equal to o. -
hashCode
public int hashCode() -
toString
-