@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOResponseData extends Object
name, description, tags, etc.).| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CONFIGURED_ALERT_IDS |
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_CREATOR |
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_GROUPS |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_MODIFIED_AT |
static String |
JSON_PROPERTY_MONITOR_IDS |
static String |
JSON_PROPERTY_MONITOR_TAGS |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_SLI_SPECIFICATION |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_TARGET_THRESHOLD |
static String |
JSON_PROPERTY_THRESHOLDS |
static String |
JSON_PROPERTY_TIMEFRAME |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_WARNING_THRESHOLD |
boolean |
unparsed |
| Constructor and Description |
|---|
SLOResponseData() |
| Modifier and Type | Method and Description |
|---|---|
SLOResponseData |
addConfiguredAlertIdsItem(Long configuredAlertIdsItem) |
SLOResponseData |
addGroupsItem(String groupsItem) |
SLOResponseData |
addMonitorIdsItem(Long monitorIdsItem) |
SLOResponseData |
addMonitorTagsItem(String monitorTagsItem) |
SLOResponseData |
addTagsItem(String tagsItem) |
SLOResponseData |
addThresholdsItem(SLOThreshold thresholdsItem) |
SLOResponseData |
configuredAlertIds(List<Long> configuredAlertIds) |
SLOResponseData |
description(String description) |
boolean |
equals(Object o)
Return true if this SLOResponseData object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
List<Long> |
getConfiguredAlertIds()
A list of SLO monitors IDs that reference this SLO.
|
Long |
getCreatedAt()
Creation timestamp (UNIX time in seconds)
|
Creator |
getCreator()
Object describing the creator of the shared element.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getDescription_JsonNullable() |
String |
getDescription()
A user-defined description of the service level objective.
|
List<String> |
getGroups()
A list of (up to 20) monitor groups that narrow the scope of a monitor service level objective.
|
String |
getId()
A unique identifier for the service level objective object.
|
Long |
getModifiedAt()
Modification timestamp (UNIX time in seconds)
|
List<Long> |
getMonitorIds()
A list of monitor ids that defines the scope of a monitor service level objective.
|
List<String> |
getMonitorTags()
The union of monitor tags for all monitors referenced by the
monitor_ids field. |
String |
getName()
The name of the service level objective object.
|
ServiceLevelObjectiveQuery |
getQuery()
A metric-based SLO.
|
SLOSliSpec |
getSliSpecification()
A generic SLI specification.
|
List<String> |
getTags()
A list of tags associated with this service level objective.
|
Double |
getTargetThreshold()
The target threshold such that when the service level indicator is above this threshold over
the given timeframe, the objective is being met.
|
List<SLOThreshold> |
getThresholds()
The thresholds (timeframes and associated targets) for this service level objective object.
|
SLOTimeframe |
getTimeframe()
The SLO time window options.
|
SLOType |
getType()
The type of the service level objective.
|
Double |
getWarningThreshold()
The optional warning threshold such that when the service level indicator is below this value
for the given threshold, but above the target threshold, the objective appears in a "warning"
state.
|
SLOResponseData |
groups(List<String> groups) |
int |
hashCode() |
SLOResponseData |
monitorIds(List<Long> monitorIds) |
SLOResponseData |
monitorTags(List<String> monitorTags) |
SLOResponseData |
name(String name) |
SLOResponseData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SLOResponseData |
query(ServiceLevelObjectiveQuery query) |
void |
setConfiguredAlertIds(List<Long> configuredAlertIds) |
void |
setDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description) |
void |
setDescription(String description) |
void |
setGroups(List<String> groups) |
void |
setMonitorIds(List<Long> monitorIds) |
void |
setMonitorTags(List<String> monitorTags) |
void |
setName(String name) |
void |
setQuery(ServiceLevelObjectiveQuery query) |
void |
setSliSpecification(SLOSliSpec sliSpecification) |
void |
setTags(List<String> tags) |
void |
setTargetThreshold(Double targetThreshold) |
void |
setThresholds(List<SLOThreshold> thresholds) |
void |
setTimeframe(SLOTimeframe timeframe) |
void |
setType(SLOType type) |
void |
setWarningThreshold(Double warningThreshold) |
SLOResponseData |
sliSpecification(SLOSliSpec sliSpecification) |
SLOResponseData |
tags(List<String> tags) |
SLOResponseData |
targetThreshold(Double targetThreshold) |
SLOResponseData |
thresholds(List<SLOThreshold> thresholds) |
SLOResponseData |
timeframe(SLOTimeframe timeframe) |
String |
toString() |
SLOResponseData |
type(SLOType type) |
SLOResponseData |
warningThreshold(Double warningThreshold) |
public boolean unparsed
public static final String JSON_PROPERTY_CONFIGURED_ALERT_IDS
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATOR
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_GROUPS
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_MODIFIED_AT
public static final String JSON_PROPERTY_MONITOR_IDS
public static final String JSON_PROPERTY_MONITOR_TAGS
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_SLI_SPECIFICATION
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TARGET_THRESHOLD
public static final String JSON_PROPERTY_THRESHOLDS
public static final String JSON_PROPERTY_TIMEFRAME
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_WARNING_THRESHOLD
public SLOResponseData configuredAlertIds(List<Long> configuredAlertIds)
public SLOResponseData addConfiguredAlertIdsItem(Long configuredAlertIdsItem)
@Nullable public List<Long> getConfiguredAlertIds()
with_configured_alert_ids parameter is true in query.@Nullable public Long getCreatedAt()
Always included in service level objective responses.
@Nullable public Creator getCreator()
public SLOResponseData description(String description)
@Nullable public String getDescription()
Always included in service level objective responses (but may be null).
Optional in create/update requests.
public org.openapitools.jackson.nullable.JsonNullable<String> getDescription_JsonNullable()
public void setDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description)
public void setDescription(String description)
public SLOResponseData groups(List<String> groups)
public SLOResponseData addGroupsItem(String groupsItem)
@Nullable public List<String> getGroups()
Included in service level objective responses if it is not empty. Optional in create/update
requests for monitor service level objectives, but may only be used when then length of the
monitor_ids field is one.
@Nullable public String getId()
Always included in service level objective responses.
@Nullable public Long getModifiedAt()
Always included in service level objective responses.
public SLOResponseData monitorIds(List<Long> monitorIds)
public SLOResponseData addMonitorIdsItem(Long monitorIdsItem)
@Nullable public List<Long> getMonitorIds()
monitor.public SLOResponseData monitorTags(List<String> monitorTags)
public SLOResponseData addMonitorTagsItem(String monitorTagsItem)
@Nullable public List<String> getMonitorTags()
monitor_ids field.
Always included in service level objective responses for monitor service level objectives (but
may be empty). Ignored in create/update requests. Does not affect which monitors are included
in the service level objective (that is determined entirely by the monitor_ids
field).public SLOResponseData name(String name)
@Nullable public String getName()
public void setName(String name)
public SLOResponseData query(ServiceLevelObjectiveQuery query)
@Nullable public ServiceLevelObjectiveQuery getQuery()
metric. Note that Datadog
only allows the sum by aggregator to be used because this will sum up all request counts
instead of averaging them, or taking the max or min of all of those requests.public void setQuery(ServiceLevelObjectiveQuery query)
public SLOResponseData sliSpecification(SLOSliSpec sliSpecification)
@Nullable public SLOSliSpec getSliSpecification()
public void setSliSpecification(SLOSliSpec sliSpecification)
public SLOResponseData tags(List<String> tags)
public SLOResponseData addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
public SLOResponseData targetThreshold(Double targetThreshold)
@Nullable public Double getTargetThreshold()
public void setTargetThreshold(Double targetThreshold)
public SLOResponseData thresholds(List<SLOThreshold> thresholds)
public SLOResponseData addThresholdsItem(SLOThreshold thresholdsItem)
@Nullable public List<SLOThreshold> getThresholds()
public void setThresholds(List<SLOThreshold> thresholds)
public SLOResponseData timeframe(SLOTimeframe timeframe)
@Nullable public SLOTimeframe getTimeframe()
public void setTimeframe(SLOTimeframe timeframe)
public SLOResponseData type(SLOType type)
@Nullable public SLOType getType()
public void setType(SLOType type)
public SLOResponseData warningThreshold(Double warningThreshold)
@Nullable public Double getWarningThreshold()
public void setWarningThreshold(Double warningThreshold)
public SLOResponseData 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.