Package com.datadog.api.client.v2.model
Class ObservabilityPipelineRenameMetricTagsProcessorTag
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineRenameMetricTagsProcessorTag
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineRenameMetricTagsProcessorTag
extends Object
Defines how to rename a tag on metric events.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineRenameMetricTagsProcessorTag(String renameTo, String tag) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineRenameMetricTagsProcessorTag object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The new tag key to assign in place of the original.getTag()The original tag key on the metric event.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetRenameTo(String renameTo) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_RENAME_TO
- See Also:
-
JSON_PROPERTY_TAG
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineRenameMetricTagsProcessorTag
public ObservabilityPipelineRenameMetricTagsProcessorTag() -
ObservabilityPipelineRenameMetricTagsProcessorTag
-
-
Method Details
-
renameTo
-
getRenameTo
The new tag key to assign in place of the original.- Returns:
- renameTo
-
setRenameTo
-
tag
-
getTag
The original tag key on the metric event.- Returns:
- tag
-
setTag
-
putAdditionalProperty
public ObservabilityPipelineRenameMetricTagsProcessorTag 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:
- ObservabilityPipelineRenameMetricTagsProcessorTag
-
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 ObservabilityPipelineRenameMetricTagsProcessorTag object is equal to o. -
hashCode
public int hashCode() -
toString
-