Class RumRetentionFilterUpdateAttributes

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

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

  • Constructor Details

    • RumRetentionFilterUpdateAttributes

      public RumRetentionFilterUpdateAttributes()
  • Method Details

    • crossProductSampling

      public RumRetentionFilterUpdateAttributes crossProductSampling(RumCrossProductSamplingUpdate crossProductSampling)
    • getCrossProductSampling

      @Nullable public RumCrossProductSamplingUpdate getCrossProductSampling()
      The configuration for cross-product retention filters. All fields are optional for partial updates.
      Returns:
      crossProductSampling
    • setCrossProductSampling

      public void setCrossProductSampling(RumCrossProductSamplingUpdate crossProductSampling)
    • enabled

      public RumRetentionFilterUpdateAttributes 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

    • getQuery

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

      public void setQuery(String query)
    • sampleRate

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