Class DataAttributesRulesItemsMapping

java.lang.Object
com.datadog.api.client.v2.model.DataAttributesRulesItemsMapping

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DataAttributesRulesItemsMapping extends Object
The definition of DataAttributesRulesItemsMapping object.
  • Field Details

  • Constructor Details

    • DataAttributesRulesItemsMapping

      public DataAttributesRulesItemsMapping()
    • DataAttributesRulesItemsMapping

      public DataAttributesRulesItemsMapping(String destinationKey, List<String> sourceKeys)
  • Method Details

    • destinationKey

      public DataAttributesRulesItemsMapping destinationKey(String destinationKey)
    • getDestinationKey

      public String getDestinationKey()
      The mapping destination_key.
      Returns:
      destinationKey
    • setDestinationKey

      public void setDestinationKey(String destinationKey)
    • ifNotExists

      public DataAttributesRulesItemsMapping ifNotExists(Boolean ifNotExists)
    • getIfNotExists

      @Deprecated @Nullable public Boolean getIfNotExists()
      Deprecated.
      Deprecated. Use if_tag_exists instead. The mapping if_not_exists.
      Returns:
      ifNotExists
    • setIfNotExists

      @Deprecated public void setIfNotExists(Boolean ifNotExists)
      Deprecated.
    • ifTagExists

    • getIfTagExists

      @Nullable public DataAttributesRulesItemsIfTagExists getIfTagExists()
      The behavior when the tag already exists.
      Returns:
      ifTagExists
    • setIfTagExists

      public void setIfTagExists(DataAttributesRulesItemsIfTagExists ifTagExists)
    • sourceKeys

      public DataAttributesRulesItemsMapping sourceKeys(List<String> sourceKeys)
    • addSourceKeysItem

      public DataAttributesRulesItemsMapping addSourceKeysItem(String sourceKeysItem)
    • getSourceKeys

      public List<String> getSourceKeys()
      The mapping source_keys.
      Returns:
      sourceKeys
    • setSourceKeys

      public void setSourceKeys(List<String> sourceKeys)
    • putAdditionalProperty

      public DataAttributesRulesItemsMapping 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 set
      value - The associated value
      Returns:
      DataAttributesRulesItemsMapping
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this DataAttributesRulesItemsMapping object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object