Class RumRetentionFilterAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RumRetentionFilterAttributes extends Object
The object describing attributes of a RUM retention filter.
  • Field Details

  • Constructor Details

    • RumRetentionFilterAttributes

      public RumRetentionFilterAttributes()
  • Method Details

    • crossProductSampling

      public RumRetentionFilterAttributes crossProductSampling(RumCrossProductSampling crossProductSampling)
    • getCrossProductSampling

      @Nullable public RumCrossProductSampling getCrossProductSampling()
      The configuration for cross-product retention filters.
      Returns:
      crossProductSampling
    • setCrossProductSampling

      public void setCrossProductSampling(RumCrossProductSampling crossProductSampling)
    • enabled

      public RumRetentionFilterAttributes enabled(Boolean enabled)
    • getEnabled

      @Nullable public Boolean getEnabled()
      Whether the retention filter is enabled.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • eventType

    • getEventType

      @Nullable public RumRetentionFilterEventType getEventType()
      The type of RUM events to filter on.
      Returns:
      eventType
    • setEventType

      public void setEventType(RumRetentionFilterEventType eventType)
    • name

    • getName

      @Nullable public String getName()
      The name of a RUM retention filter.
      Returns:
      name
    • setName

      public void setName(String name)
    • query

      public RumRetentionFilterAttributes query(String query)
    • getQuery

      @Nullable public String getQuery()
      The query string for a RUM retention filter.
      Returns:
      query
    • setQuery

      public void setQuery(String query)
    • sampleRate

      public RumRetentionFilterAttributes sampleRate(Double sampleRate)
    • getSampleRate

      @Nullable public Double getSampleRate()
      The sample rate for a RUM retention filter, between 0.1 and 100. Values are truncated to one decimal place. minimum: 0.1 maximum: 100
      Returns:
      sampleRate
    • setSampleRate

      public void setSampleRate(Double sampleRate)
    • putAdditionalProperty

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