Package com.datadog.api.client.v2.model
Class ObservabilityPipelineOpenSearchDestination
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineOpenSearchDestination
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineOpenSearchDestination
extends Object
The
opensearch destination writes logs to an OpenSearch cluster.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineOpenSearchDestination(String id, List<String> inputs, ObservabilityPipelineOpenSearchDestinationType type) -
Method Summary
Modifier and TypeMethodDescriptionaddInputsItem(String inputsItem) endpointUrlKey(String endpointUrlKey) booleanReturn true if this ObservabilityPipelineOpenSearchDestination object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getAuth()Authentication settings for the Elasticsearch destination.Configuration for buffer settings on destination components.The index to write logs to.Configuration options for writing to OpenSearch Data Streams instead of a fixed index.Name of the environment variable or secret that holds the OpenSearch endpoint URL.getId()The unique identifier for this component.A list of component IDs whose output is used as theinputfor this component.getType()The destination type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetBulkIndex(String bulkIndex) voidvoidsetEndpointUrlKey(String endpointUrlKey) voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTH
- See Also:
-
JSON_PROPERTY_BUFFER
- See Also:
-
JSON_PROPERTY_BULK_INDEX
- See Also:
-
JSON_PROPERTY_DATA_STREAM
- See Also:
-
JSON_PROPERTY_ENDPOINT_URL_KEY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineOpenSearchDestination
public ObservabilityPipelineOpenSearchDestination() -
ObservabilityPipelineOpenSearchDestination
public ObservabilityPipelineOpenSearchDestination(String id, List<String> inputs, ObservabilityPipelineOpenSearchDestinationType type)
-
-
Method Details
-
auth
-
getAuth
Authentication settings for the Elasticsearch destination. Whenstrategyisbasic, useusername_keyandpassword_keyto reference credentials stored in environment variables or secrets.- Returns:
- auth
-
setAuth
-
buffer
-
getBuffer
Configuration for buffer settings on destination components.- Returns:
- buffer
-
setBuffer
-
bulkIndex
-
getBulkIndex
The index to write logs to.- Returns:
- bulkIndex
-
setBulkIndex
-
dataStream
public ObservabilityPipelineOpenSearchDestination dataStream(ObservabilityPipelineOpenSearchDestinationDataStream dataStream) -
getDataStream
Configuration options for writing to OpenSearch Data Streams instead of a fixed index.- Returns:
- dataStream
-
setDataStream
-
endpointUrlKey
-
getEndpointUrlKey
Name of the environment variable or secret that holds the OpenSearch endpoint URL.- Returns:
- endpointUrlKey
-
setEndpointUrlKey
-
id
-
getId
The unique identifier for this component.- Returns:
- id
-
setId
-
inputs
-
addInputsItem
-
getInputs
A list of component IDs whose output is used as theinputfor this component.- Returns:
- inputs
-
setInputs
-
type
-
getType
The destination type. The value should always beopensearch.- Returns:
- type
-
setType
-
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:
- ObservabilityPipelineOpenSearchDestination
-
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 ObservabilityPipelineOpenSearchDestination object is equal to o. -
hashCode
public int hashCode() -
toString
-