Class LogsExclusion

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsExclusion extends Object
Represents the index exclusion filter object from configuration API.
  • Field Details

  • Constructor Details

    • LogsExclusion

      public LogsExclusion()
    • LogsExclusion

      public LogsExclusion(String name)
  • Method Details

    • filter

      public LogsExclusion filter(LogsExclusionFilter filter)
    • getFilter

      @Nullable public LogsExclusionFilter getFilter()
      Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
      Returns:
      filter
    • setFilter

      public void setFilter(LogsExclusionFilter filter)
    • isEnabled

      public LogsExclusion isEnabled(Boolean isEnabled)
    • getIsEnabled

      @Nullable public Boolean getIsEnabled()
      Whether or not the exclusion filter is active.
      Returns:
      isEnabled
    • setIsEnabled

      public void setIsEnabled(Boolean isEnabled)
    • name

      public LogsExclusion name(String name)
    • getName

      public String getName()
      Name of the index exclusion filter.
      Returns:
      name
    • setName

      public void setName(String name)
    • putAdditionalProperty

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