Package com.datadog.api.client.v2.model
Class ObservabilityPipelinePrometheusRemoteWriteSource
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelinePrometheusRemoteWriteSource
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelinePrometheusRemoteWriteSource
extends Object
The
prometheus_remote_write source ingests metrics pushed over the Prometheus Remote
Write protocol.
Supported pipeline types: metrics
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelinePrometheusRemoteWriteSource(ObservabilityPipelinePrometheusRemoteWriteSourceAuthStrategy authStrategy, String id, String path, ObservabilityPipelinePrometheusRemoteWriteSourceType type) -
Method Summary
Modifier and TypeMethodDescriptionaddressKey(String addressKey) booleanReturn true if this ObservabilityPipelinePrometheusRemoteWriteSource 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 Prometheus Remote Write endpoint.HTTP authentication method.getId()The unique identifier for this component.Name of the environment variable or secret that holds the password (used whenauth_strategyisplain).getPath()The HTTP path on which the source listens for incoming Prometheus Remote Write requests.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 requests.inthashCode()passwordKey(String passwordKey) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAddressKey(String addressKey) voidvoidvoidsetPasswordKey(String passwordKey) voidvoidvoidvoidsetUsernameKey(String usernameKey) voidtoString()usernameKey(String usernameKey)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ADDRESS_KEY
- See Also:
-
JSON_PROPERTY_AUTH_STRATEGY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_PASSWORD_KEY
- See Also:
-
JSON_PROPERTY_PATH
- 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
-
ObservabilityPipelinePrometheusRemoteWriteSource
public ObservabilityPipelinePrometheusRemoteWriteSource() -
ObservabilityPipelinePrometheusRemoteWriteSource
public ObservabilityPipelinePrometheusRemoteWriteSource(ObservabilityPipelinePrometheusRemoteWriteSourceAuthStrategy authStrategy, String id, String path, ObservabilityPipelinePrometheusRemoteWriteSourceType type)
-
-
Method Details
-
addressKey
-
getAddressKey
Name of the environment variable or secret that holds the listen address for the Prometheus Remote Write endpoint.- Returns:
- addressKey
-
setAddressKey
-
authStrategy
public ObservabilityPipelinePrometheusRemoteWriteSource authStrategy(ObservabilityPipelinePrometheusRemoteWriteSourceAuthStrategy authStrategy) -
getAuthStrategy
HTTP authentication method.- Returns:
- authStrategy
-
setAuthStrategy
public void setAuthStrategy(ObservabilityPipelinePrometheusRemoteWriteSourceAuthStrategy authStrategy) -
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_strategyisplain).- Returns:
- passwordKey
-
setPasswordKey
-
path
-
getPath
The HTTP path on which the source listens for incoming Prometheus Remote Write requests.- Returns:
- path
-
setPath
-
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 beprometheus_remote_write.- Returns:
- type
-
setType
-
usernameKey
-
getUsernameKey
Name of the environment variable or secret that holds the username (used whenauth_strategyisplain).- Returns:
- usernameKey
-
setUsernameKey
-
validTokens
public ObservabilityPipelinePrometheusRemoteWriteSource validTokens(List<ObservabilityPipelinePrometheusRemoteWriteSourceValidToken> validTokens) -
addValidTokensItem
public ObservabilityPipelinePrometheusRemoteWriteSource addValidTokensItem(ObservabilityPipelinePrometheusRemoteWriteSourceValidToken validTokensItem) -
getValidTokens
A list of tokens that are accepted for authenticating incoming requests. When set, the source rejects any request whose token does not match an enabled entry in this list.- Returns:
- validTokens
-
setValidTokens
public void setValidTokens(List<ObservabilityPipelinePrometheusRemoteWriteSourceValidToken> validTokens) -
putAdditionalProperty
public ObservabilityPipelinePrometheusRemoteWriteSource 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:
- ObservabilityPipelinePrometheusRemoteWriteSource
-
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 ObservabilityPipelinePrometheusRemoteWriteSource object is equal to o. -
hashCode
public int hashCode() -
toString
-