Class LogsArrayMapArithmeticSubProcessor

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsArrayMapArithmeticSubProcessor extends Object
An arithmetic sub-processor for use inside an array-map processor. Unlike the top-level arithmetic processor, is_enabled is not supported.
  • Field Details

  • Constructor Details

    • LogsArrayMapArithmeticSubProcessor

      public LogsArrayMapArithmeticSubProcessor()
    • LogsArrayMapArithmeticSubProcessor

      public LogsArrayMapArithmeticSubProcessor(String expression, String target, LogsArithmeticProcessorType type)
  • Method Details

    • expression

      public LogsArrayMapArithmeticSubProcessor expression(String expression)
    • getExpression

      public String getExpression()
      Arithmetic operation to perform.
      Returns:
      expression
    • setExpression

      public void setExpression(String expression)
    • isReplaceMissing

      public LogsArrayMapArithmeticSubProcessor isReplaceMissing(Boolean isReplaceMissing)
    • getIsReplaceMissing

      @Nullable public Boolean getIsReplaceMissing()
      Replace missing attribute values with 0.
      Returns:
      isReplaceMissing
    • setIsReplaceMissing

      public void setIsReplaceMissing(Boolean isReplaceMissing)
    • name

    • getName

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

      public void setName(String name)
    • target

    • getTarget

      public String getTarget()
      Target attribute path for the result.
      Returns:
      target
    • setTarget

      public void setTarget(String target)
    • type

    • getType

      public LogsArithmeticProcessorType getType()
      Type of logs arithmetic processor.
      Returns:
      type
    • setType

      public void setType(LogsArithmeticProcessorType type)
    • putAdditionalProperty

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