Package com.datadog.api.client.v2.model
Class ObservabilityPipelineClickhouseDestinationAuth
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineClickhouseDestinationAuth
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineClickhouseDestinationAuth
extends Object
HTTP Basic Authentication credentials for the ClickHouse destination. When
strategy
is basic, provide username_key and password_key that
reference environment variables or secrets containing the credentials.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineClickhouseDestinationAuth(ObservabilityPipelineClickhouseDestinationAuthStrategy strategy) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineClickhouseDestinationAuth 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 contains the ClickHouse password.The authentication strategy for ClickHouse HTTP requests.Name of the environment variable or secret that contains the ClickHouse username.inthashCode()passwordKey(String passwordKey) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetPasswordKey(String passwordKey) voidvoidsetUsernameKey(String usernameKey) toString()usernameKey(String usernameKey)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_PASSWORD_KEY
- See Also:
-
JSON_PROPERTY_STRATEGY
- See Also:
-
JSON_PROPERTY_USERNAME_KEY
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineClickhouseDestinationAuth
public ObservabilityPipelineClickhouseDestinationAuth() -
ObservabilityPipelineClickhouseDestinationAuth
public ObservabilityPipelineClickhouseDestinationAuth(ObservabilityPipelineClickhouseDestinationAuthStrategy strategy)
-
-
Method Details
-
passwordKey
-
getPasswordKey
Name of the environment variable or secret that contains the ClickHouse password.- Returns:
- passwordKey
-
setPasswordKey
-
strategy
public ObservabilityPipelineClickhouseDestinationAuth strategy(ObservabilityPipelineClickhouseDestinationAuthStrategy strategy) -
getStrategy
The authentication strategy for ClickHouse HTTP requests. Onlybasicis supported.- Returns:
- strategy
-
setStrategy
-
usernameKey
-
getUsernameKey
Name of the environment variable or secret that contains the ClickHouse username.- Returns:
- usernameKey
-
setUsernameKey
-
putAdditionalProperty
public ObservabilityPipelineClickhouseDestinationAuth 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:
- ObservabilityPipelineClickhouseDestinationAuth
-
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 ObservabilityPipelineClickhouseDestinationAuth object is equal to o. -
hashCode
public int hashCode() -
toString
-