@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RetentionFilterAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_CREATED_BY |
static String |
JSON_PROPERTY_EDITABLE |
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_EXECUTION_ORDER |
static String |
JSON_PROPERTY_FILTER |
static String |
JSON_PROPERTY_FILTER_TYPE |
static String |
JSON_PROPERTY_MODIFIED_AT |
static String |
JSON_PROPERTY_MODIFIED_BY |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_RATE |
boolean |
unparsed |
| Constructor and Description |
|---|
RetentionFilterAttributes() |
| Modifier and Type | Method and Description |
|---|---|
RetentionFilterAttributes |
createdAt(Long createdAt) |
RetentionFilterAttributes |
createdBy(String createdBy) |
RetentionFilterAttributes |
editable(Boolean editable) |
RetentionFilterAttributes |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this RetentionFilterAttributes object is equal to o.
|
RetentionFilterAttributes |
executionOrder(Long executionOrder) |
RetentionFilterAttributes |
filter(SpansFilter filter) |
RetentionFilterAttributes |
filterType(RetentionFilterType filterType) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getCreatedAt()
The creation timestamp of the retention filter.
|
String |
getCreatedBy()
The creator of the retention filter.
|
Boolean |
getEditable()
Shows whether the filter can be edited.
|
Boolean |
getEnabled()
The status of the retention filter (Enabled/Disabled).
|
Long |
getExecutionOrder()
The execution order of the retention filter.
|
SpansFilter |
getFilter()
The spans filter used to index spans.
|
RetentionFilterType |
getFilterType()
The type of retention filter.
|
Long |
getModifiedAt()
The modification timestamp of the retention filter.
|
String |
getModifiedBy()
The modifier of the retention filter.
|
String |
getName()
The name of the retention filter.
|
Double |
getRate()
Sample rate to apply to spans going through this retention filter, a value of 1.0 keeps all
spans matching the query.
|
int |
hashCode() |
RetentionFilterAttributes |
modifiedAt(Long modifiedAt) |
RetentionFilterAttributes |
modifiedBy(String modifiedBy) |
RetentionFilterAttributes |
name(String name) |
RetentionFilterAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RetentionFilterAttributes |
rate(Double rate) |
void |
setCreatedAt(Long createdAt) |
void |
setCreatedBy(String createdBy) |
void |
setEditable(Boolean editable) |
void |
setEnabled(Boolean enabled) |
void |
setExecutionOrder(Long executionOrder) |
void |
setFilter(SpansFilter filter) |
void |
setFilterType(RetentionFilterType filterType) |
void |
setModifiedAt(Long modifiedAt) |
void |
setModifiedBy(String modifiedBy) |
void |
setName(String name) |
void |
setRate(Double rate) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_BY
public static final String JSON_PROPERTY_EDITABLE
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_EXECUTION_ORDER
public static final String JSON_PROPERTY_FILTER
public static final String JSON_PROPERTY_FILTER_TYPE
public static final String JSON_PROPERTY_MODIFIED_AT
public static final String JSON_PROPERTY_MODIFIED_BY
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_RATE
public RetentionFilterAttributes createdAt(Long createdAt)
@Nullable public Long getCreatedAt()
public void setCreatedAt(Long createdAt)
public RetentionFilterAttributes createdBy(String createdBy)
@Nullable public String getCreatedBy()
public void setCreatedBy(String createdBy)
public RetentionFilterAttributes editable(Boolean editable)
@Nullable public Boolean getEditable()
public void setEditable(Boolean editable)
public RetentionFilterAttributes enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public RetentionFilterAttributes executionOrder(Long executionOrder)
@Nullable public Long getExecutionOrder()
public void setExecutionOrder(Long executionOrder)
public RetentionFilterAttributes filter(SpansFilter filter)
@Nullable public SpansFilter getFilter()
public void setFilter(SpansFilter filter)
public RetentionFilterAttributes filterType(RetentionFilterType filterType)
@Nullable public RetentionFilterType getFilterType()
public void setFilterType(RetentionFilterType filterType)
public RetentionFilterAttributes modifiedAt(Long modifiedAt)
@Nullable public Long getModifiedAt()
public void setModifiedAt(Long modifiedAt)
public RetentionFilterAttributes modifiedBy(String modifiedBy)
@Nullable public String getModifiedBy()
public void setModifiedBy(String modifiedBy)
public RetentionFilterAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public RetentionFilterAttributes rate(Double rate)
@Nullable public Double getRate()
public void setRate(Double rate)
public RetentionFilterAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.