Package com.datadog.api.client.v2.model
Class ObservabilityPipelineElasticsearchDestinationAuth
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineElasticsearchDestinationAuth
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineElasticsearchDestinationAuth
extends Object
Authentication settings for the Elasticsearch destination. When
strategy is
basic, use username_key and password_key to reference
credentials stored in environment variables or secrets.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineElasticsearchDestinationAuth 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 Elasticsearch password (used whenstrategyisbasic).The authentication strategy to use.Name of the environment variable or secret that holds the Elasticsearch username (used whenstrategyisbasic).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
-
ObservabilityPipelineElasticsearchDestinationAuth
public ObservabilityPipelineElasticsearchDestinationAuth() -
ObservabilityPipelineElasticsearchDestinationAuth
public ObservabilityPipelineElasticsearchDestinationAuth(ObservabilityPipelineAmazonOpenSearchDestinationAuthStrategy strategy)
-
-
Method Details
-
passwordKey
-
getPasswordKey
Name of the environment variable or secret that holds the Elasticsearch password (used whenstrategyisbasic).- Returns:
- passwordKey
-
setPasswordKey
-
strategy
-
getStrategy
The authentication strategy to use.- Returns:
- strategy
-
setStrategy
-
usernameKey
-
getUsernameKey
Name of the environment variable or secret that holds the Elasticsearch username (used whenstrategyisbasic).- Returns:
- usernameKey
-
setUsernameKey
-
putAdditionalProperty
public ObservabilityPipelineElasticsearchDestinationAuth 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:
- ObservabilityPipelineElasticsearchDestinationAuth
-
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 ObservabilityPipelineElasticsearchDestinationAuth object is equal to o. -
hashCode
public int hashCode() -
toString
-