Package com.datadog.api.client.v2.model
Class ObservabilityPipelineHttpServerSource
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineHttpServerSource
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineHttpServerSource
extends Object
The
http_server source collects logs over HTTP POST from external services.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineHttpServerSource(ObservabilityPipelineHttpServerSourceAuthStrategy authStrategy, ObservabilityPipelineDecoding decoding, String id, ObservabilityPipelineHttpServerSourceType type) -
Method Summary
Modifier and TypeMethodDescriptionaddressKey(String addressKey) addValidTokensItem(ObservabilityPipelineHttpServerSourceValidToken validTokensItem) decoding(ObservabilityPipelineDecoding decoding) booleanReturn true if this ObservabilityPipelineHttpServerSource 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 holds the listen address for the HTTP server.HTTP authentication method.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.getId()Unique ID for the HTTP server source.Name of the environment variable or secret that holds the password (used whenauth_strategyisplain).getTls()Configuration for enabling TLS encryption between the pipeline component and external connecting clients.getType()The source type.Name of the environment variable or secret that holds the username (used whenauth_strategyisplain).A list of tokens that are accepted for authenticating incoming HTTP requests.inthashCode()passwordKey(String passwordKey) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAddressKey(String addressKey) voidvoidsetCustomKey(String customKey) voidsetDecoding(ObservabilityPipelineDecoding decoding) voidvoidsetPasswordKey(String passwordKey) voidvoidvoidsetUsernameKey(String usernameKey) voidtoString()usernameKey(String usernameKey) validTokens(List<ObservabilityPipelineHttpServerSourceValidToken> validTokens)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ADDRESS_KEY
- See Also:
-
JSON_PROPERTY_AUTH_STRATEGY
- See Also:
-
JSON_PROPERTY_CUSTOM_KEY
- See Also:
-
JSON_PROPERTY_DECODING
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_PASSWORD_KEY
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_USERNAME_KEY
- See Also:
-
JSON_PROPERTY_VALID_TOKENS
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineHttpServerSource
public ObservabilityPipelineHttpServerSource() -
ObservabilityPipelineHttpServerSource
public ObservabilityPipelineHttpServerSource(ObservabilityPipelineHttpServerSourceAuthStrategy authStrategy, ObservabilityPipelineDecoding decoding, String id, ObservabilityPipelineHttpServerSourceType type)
-
-
Method Details
-
addressKey
-
getAddressKey
Name of the environment variable or secret that holds the listen address for the HTTP server.- Returns:
- addressKey
-
setAddressKey
-
authStrategy
public ObservabilityPipelineHttpServerSource authStrategy(ObservabilityPipelineHttpServerSourceAuthStrategy authStrategy) -
getAuthStrategy
HTTP authentication method.- 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
-
id
-
getId
Unique ID for the HTTP server source.- Returns:
- id
-
setId
-
passwordKey
-
getPasswordKey
Name of the environment variable or secret that holds the password (used whenauth_strategyisplain).- Returns:
- passwordKey
-
setPasswordKey
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external connecting clients.- Returns:
- tls
-
setTls
-
type
-
getType
The source type. The value should always behttp_server.- Returns:
- type
-
setType
-
usernameKey
-
getUsernameKey
Name of the environment variable or secret that holds the username (used whenauth_strategyisplain).- Returns:
- usernameKey
-
setUsernameKey
-
validTokens
public ObservabilityPipelineHttpServerSource validTokens(List<ObservabilityPipelineHttpServerSourceValidToken> validTokens) -
addValidTokensItem
public ObservabilityPipelineHttpServerSource addValidTokensItem(ObservabilityPipelineHttpServerSourceValidToken validTokensItem) -
getValidTokens
A list of tokens that are accepted for authenticating incoming HTTP requests. When set, the source rejects any request whose token does not match an enabled entry in this list. Cannot be combined with theplainauth strategy.- Returns:
- validTokens
-
setValidTokens
-
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:
- ObservabilityPipelineHttpServerSource
-
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 ObservabilityPipelineHttpServerSource object is equal to o. -
hashCode
public int hashCode() -
toString
-