Package com.datadog.api.client.v2.model
Class ObservabilityPipelineElasticsearchDestinationCompression
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineElasticsearchDestinationCompression
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineElasticsearchDestinationCompression
extends Object
Compression configuration for the Elasticsearch destination.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineElasticsearchDestinationCompression object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The compression algorithm applied when sending data to Elasticsearch.getLevel()The compression level.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALGORITHM
- See Also:
-
JSON_PROPERTY_LEVEL
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineElasticsearchDestinationCompression
public ObservabilityPipelineElasticsearchDestinationCompression() -
ObservabilityPipelineElasticsearchDestinationCompression
public ObservabilityPipelineElasticsearchDestinationCompression(ObservabilityPipelineElasticsearchDestinationCompressionAlgorithm algorithm)
-
-
Method Details
-
algorithm
-
getAlgorithm
The compression algorithm applied when sending data to Elasticsearch.- Returns:
- algorithm
-
setAlgorithm
public void setAlgorithm(ObservabilityPipelineElasticsearchDestinationCompressionAlgorithm algorithm) -
level
-
getLevel
The compression level. Only applicable forgzip,zlib, andzstdalgorithms.- Returns:
- level
-
setLevel
-
putAdditionalProperty
public ObservabilityPipelineElasticsearchDestinationCompression 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:
- ObservabilityPipelineElasticsearchDestinationCompression
-
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 ObservabilityPipelineElasticsearchDestinationCompression object is equal to o. -
hashCode
public int hashCode() -
toString
-