Class ReferenceTableLogsLookupProcessor

java.lang.Object
com.datadog.api.client.v1.model.ReferenceTableLogsLookupProcessor

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ReferenceTableLogsLookupProcessor extends Object
Note: Reference Tables are in public beta. Use the Lookup Processor to define a mapping between a log attribute and a human readable value saved in a Reference Table. For example, you can use the Lookup Processor to map an internal service ID into a human readable service name. Alternatively, you could also use it to check if the MAC address that just attempted to connect to the production environment belongs to your list of stolen machines.
  • Field Details

  • Constructor Details

    • ReferenceTableLogsLookupProcessor

      public ReferenceTableLogsLookupProcessor()
    • ReferenceTableLogsLookupProcessor

      public ReferenceTableLogsLookupProcessor(String lookupEnrichmentTable, String source, String target, LogsLookupProcessorType type)
  • Method Details

    • isEnabled

      public ReferenceTableLogsLookupProcessor isEnabled(Boolean isEnabled)
    • getIsEnabled

      @Nullable public Boolean getIsEnabled()
      Whether or not the processor is enabled.
      Returns:
      isEnabled
    • setIsEnabled

      public void setIsEnabled(Boolean isEnabled)
    • lookupEnrichmentTable

      public ReferenceTableLogsLookupProcessor lookupEnrichmentTable(String lookupEnrichmentTable)
    • getLookupEnrichmentTable

      public String getLookupEnrichmentTable()
      Name of the Reference Table for the source attribute and their associated target attribute values.
      Returns:
      lookupEnrichmentTable
    • setLookupEnrichmentTable

      public void setLookupEnrichmentTable(String lookupEnrichmentTable)
    • name

    • getName

      @Nullable public String getName()
      Name of the processor.
      Returns:
      name
    • setName

      public void setName(String name)
    • source

      public ReferenceTableLogsLookupProcessor source(String source)
    • getSource

      public String getSource()
      Source attribute used to perform the lookup.
      Returns:
      source
    • setSource

      public void setSource(String source)
    • target

      public ReferenceTableLogsLookupProcessor target(String target)
    • getTarget

      public String getTarget()
      Name of the attribute that contains the corresponding value in the mapping list.
      Returns:
      target
    • setTarget

      public void setTarget(String target)
    • type

    • getType

      public LogsLookupProcessorType getType()
      Type of logs lookup processor.
      Returns:
      type
    • setType

      public void setType(LogsLookupProcessorType type)
    • putAdditionalProperty

      public ReferenceTableLogsLookupProcessor 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:
      ReferenceTableLogsLookupProcessor
    • 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 ReferenceTableLogsLookupProcessor 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