Package com.datadog.api.client.v2.model
Class ObservabilityPipelineQuotaProcessorLimit
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineQuotaProcessorLimit
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineQuotaProcessorLimit
extends Object
The maximum amount of data or number of events allowed before the quota is enforced. Can be
specified in bytes or events.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineQuotaProcessorLimit(ObservabilityPipelineQuotaProcessorLimitEnforceType enforce, Long limit) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineQuotaProcessorLimit object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Unit for quota enforcement in bytes for data size or events for count.getLimit()The limit for quota enforcement.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_ENFORCE
- See Also:
-
JSON_PROPERTY_LIMIT
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineQuotaProcessorLimit
public ObservabilityPipelineQuotaProcessorLimit() -
ObservabilityPipelineQuotaProcessorLimit
public ObservabilityPipelineQuotaProcessorLimit(ObservabilityPipelineQuotaProcessorLimitEnforceType enforce, Long limit)
-
-
Method Details
-
enforce
public ObservabilityPipelineQuotaProcessorLimit enforce(ObservabilityPipelineQuotaProcessorLimitEnforceType enforce) -
getEnforce
Unit for quota enforcement in bytes for data size or events for count.- Returns:
- enforce
-
setEnforce
-
limit
-
getLimit
The limit for quota enforcement.- Returns:
- limit
-
setLimit
-
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:
- ObservabilityPipelineQuotaProcessorLimit
-
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 ObservabilityPipelineQuotaProcessorLimit object is equal to o. -
hashCode
public int hashCode() -
toString
-