Package com.datadog.api.client.v2.model
Class ObservabilityPipelineSourceValidTokenFieldToAdd
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineSourceValidTokenFieldToAdd
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineSourceValidTokenFieldToAdd
extends Object
An optional metadata field that is attached to every event authenticated by the associated token.
Both
key and value must match ^[A-Za-z0-9_]+$.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineSourceValidTokenFieldToAdd object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getKey()The metadata field name to add to incoming events.getValue()The metadata field value to add to incoming events.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_KEY
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineSourceValidTokenFieldToAdd
public ObservabilityPipelineSourceValidTokenFieldToAdd() -
ObservabilityPipelineSourceValidTokenFieldToAdd
-
-
Method Details
-
key
-
getKey
The metadata field name to add to incoming events.- Returns:
- key
-
setKey
-
value
-
getValue
The metadata field value to add to incoming events.- Returns:
- value
-
setValue
-
putAdditionalProperty
public ObservabilityPipelineSourceValidTokenFieldToAdd 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:
- ObservabilityPipelineSourceValidTokenFieldToAdd
-
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 ObservabilityPipelineSourceValidTokenFieldToAdd object is equal to o. -
hashCode
public int hashCode() -
toString
-