Package com.datadog.api.client.v2.model
Class ObservabilityPipelineMemoryBufferSizeOptions
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineMemoryBufferSizeOptions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineMemoryBufferSizeOptions
extends Object
Options for configuring a memory buffer by queue length.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineMemoryBufferSizeOptions object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Maximum events for the memory buffer.getType()The type of the buffer that will be configured, a memory buffer.Behavior when the buffer is full (block and stop accepting new events, or drop new events)inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMaxEvents(Long maxEvents) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_MAX_EVENTS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_WHEN_FULL
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineMemoryBufferSizeOptions
public ObservabilityPipelineMemoryBufferSizeOptions() -
ObservabilityPipelineMemoryBufferSizeOptions
-
-
Method Details
-
maxEvents
-
getMaxEvents
Maximum events for the memory buffer.- Returns:
- maxEvents
-
setMaxEvents
-
type
-
getType
The type of the buffer that will be configured, a memory buffer.- Returns:
- type
-
setType
-
whenFull
public ObservabilityPipelineMemoryBufferSizeOptions whenFull(ObservabilityPipelineBufferOptionsWhenFull whenFull) -
getWhenFull
Behavior when the buffer is full (block and stop accepting new events, or drop new events)- Returns:
- whenFull
-
setWhenFull
-
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:
- ObservabilityPipelineMemoryBufferSizeOptions
-
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 ObservabilityPipelineMemoryBufferSizeOptions object is equal to o. -
hashCode
public int hashCode() -
toString
-