Class RetentionFilterAllAttributes

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

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

  • Constructor Details

    • RetentionFilterAllAttributes

      public RetentionFilterAllAttributes()
  • Method Details

    • createdAt

      public RetentionFilterAllAttributes createdAt(Long createdAt)
    • getCreatedAt

      @Nullable public Long getCreatedAt()
      The creation timestamp of the retention filter.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • createdBy

      public RetentionFilterAllAttributes createdBy(String createdBy)
    • getCreatedBy

      @Nullable public String getCreatedBy()
      The creator of the retention filter.
      Returns:
      createdBy
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • editable

      public RetentionFilterAllAttributes editable(Boolean editable)
    • getEditable

      @Nullable public Boolean getEditable()
      Shows whether the filter can be edited.
      Returns:
      editable
    • setEditable

      public void setEditable(Boolean editable)
    • enabled

      public RetentionFilterAllAttributes enabled(Boolean enabled)
    • getEnabled

      @Nullable public Boolean getEnabled()
      The status of the retention filter (Enabled/Disabled).
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • executionOrder

      public RetentionFilterAllAttributes executionOrder(Long executionOrder)
    • getExecutionOrder

      @Nullable public Long getExecutionOrder()
      The execution order of the retention filter.
      Returns:
      executionOrder
    • setExecutionOrder

      public void setExecutionOrder(Long executionOrder)
    • filter

      public RetentionFilterAllAttributes filter(SpansFilter filter)
    • getFilter

      @Nullable public SpansFilter getFilter()
      The spans filter used to index spans.
      Returns:
      filter
    • setFilter

      public void setFilter(SpansFilter filter)
    • filterType

      public RetentionFilterAllAttributes filterType(RetentionFilterAllType filterType)
    • getFilterType

      @Nullable public RetentionFilterAllType getFilterType()
      The type of retention filter.
      Returns:
      filterType
    • setFilterType

      public void setFilterType(RetentionFilterAllType filterType)
    • modifiedAt

      public RetentionFilterAllAttributes modifiedAt(Long modifiedAt)
    • getModifiedAt

      @Nullable public Long getModifiedAt()
      The modification timestamp of the retention filter.
      Returns:
      modifiedAt
    • setModifiedAt

      public void setModifiedAt(Long modifiedAt)
    • modifiedBy

      public RetentionFilterAllAttributes modifiedBy(String modifiedBy)
    • getModifiedBy

      @Nullable public String getModifiedBy()
      The modifier of the retention filter.
      Returns:
      modifiedBy
    • setModifiedBy

      public void setModifiedBy(String modifiedBy)
    • name

    • getName

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

      public void setName(String name)
    • rate

    • getRate

      @Nullable public Double getRate()
      Sample rate to apply to spans going through this retention filter. A value of 1.0 keeps all spans matching the query.
      Returns:
      rate
    • setRate

      public void setRate(Double rate)
    • traceRate

      public RetentionFilterAllAttributes traceRate(Double traceRate)
    • getTraceRate

      @Nullable public Double getTraceRate()
      Sample rate to apply to traces containing spans going through this retention filter. A value of 1.0 keeps all traces with spans matching the query.
      Returns:
      traceRate
    • setTraceRate

      public void setTraceRate(Double traceRate)
    • putAdditionalProperty

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