Package com.datadog.api.client.v1.model
Class SearchServiceLevelObjectiveAttributes
java.lang.Object
com.datadog.api.client.v1.model.SearchServiceLevelObjectiveAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SearchServiceLevelObjectiveAttributes
extends Object
A service level objective object includes a service level indicator, thresholds for one or more
timeframes, and metadata (
name, description, and tags).-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllTagsItem(String allTagsItem) addEnvTagsItem(String envTagsItem) addGroupsItem(String groupsItem) addMonitorIdsItem(Long monitorIdsItem) addOverallStatusItem(SLOOverallStatuses overallStatusItem) addServiceTagsItem(String serviceTagsItem) addTeamTagsItem(String teamTagsItem) addThresholdsItem(SearchSLOThreshold thresholdsItem) creator(SLOCreator creator) description(String description) booleanReturn true if this SearchServiceLevelObjectiveAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of tags associated with this service level objective.Creation timestamp (UNIX time in seconds)The creator of the SLOorg.openapitools.jackson.nullable.JsonNullable<SLOCreator>A user-defined description of the service level objective.org.openapitools.jackson.nullable.JsonNullable<String>Tags with theenvtag key.A list of (up to 100) monitor groups that narrow the scope of a monitor service level objective.Modification timestamp (UNIX time in seconds)A list of monitor ids that defines the scope of a monitor service level objective.getName()The name of the service level objective object.calculated status and error budget remaining.getQuery()A metric-based SLO.org.openapitools.jackson.nullable.JsonNullable<SearchSLOQuery>Tags with theservicetag key.The type of the service level objective.Status of the SLO's primary timeframe.Tags with theteamtag key.The thresholds (timeframes and associated targets) for this service level objective object.inthashCode()monitorIds(List<Long> monitorIds) overallStatus(List<SLOOverallStatuses> overallStatus) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.query(SearchSLOQuery query) serviceTags(List<String> serviceTags) voidsetAllTags(List<String> allTags) voidsetCreator(SLOCreator creator) voidsetCreator_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SLOCreator> creator) voidsetDescription(String description) voidsetDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description) voidsetEnvTags(List<String> envTags) voidvoidsetGroups_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> groups) voidsetMonitorIds(List<Long> monitorIds) voidsetMonitorIds_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<Long>> monitorIds) voidvoidsetOverallStatus(List<SLOOverallStatuses> overallStatus) voidsetQuery(SearchSLOQuery query) voidsetQuery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SearchSLOQuery> query) voidsetServiceTags(List<String> serviceTags) voidsetSloType(SLOType sloType) voidvoidsetTeamTags(List<String> teamTags) voidsetThresholds(List<SearchSLOThreshold> thresholds) thresholds(List<SearchSLOThreshold> thresholds) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALL_TAGS
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATOR
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ENV_TAGS
- See Also:
-
JSON_PROPERTY_GROUPS
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_MONITOR_IDS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OVERALL_STATUS
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_SERVICE_TAGS
- See Also:
-
JSON_PROPERTY_SLO_TYPE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TEAM_TAGS
- See Also:
-
JSON_PROPERTY_THRESHOLDS
- See Also:
-
-
Constructor Details
-
SearchServiceLevelObjectiveAttributes
public SearchServiceLevelObjectiveAttributes()
-
-
Method Details
-
allTags
-
addAllTagsItem
-
getAllTags
A list of tags associated with this service level objective. Always included in service level objective responses (but may be empty).- Returns:
- allTags
-
setAllTags
-
getCreatedAt
Creation timestamp (UNIX time in seconds)Always included in service level objective responses.
- Returns:
- createdAt
-
creator
-
getCreator
The creator of the SLO- Returns:
- creator
-
getCreator_JsonNullable
-
setCreator_JsonNullable
public void setCreator_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SLOCreator> creator) -
setCreator
-
description
-
getDescription
A user-defined description of the service level objective.Always included in service level objective responses (but may be
null). Optional in create/update requests.- Returns:
- description
-
getDescription_JsonNullable
-
setDescription_JsonNullable
public void setDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description) -
setDescription
-
envTags
-
addEnvTagsItem
-
getEnvTags
Tags with theenvtag key.- Returns:
- envTags
-
setEnvTags
-
groups
-
addGroupsItem
-
getGroups
A list of (up to 100) monitor groups that narrow the scope of a monitor service level objective. Included in service level objective responses if it is not empty.- Returns:
- groups
-
getGroups_JsonNullable
-
setGroups_JsonNullable
-
setGroups
-
getModifiedAt
Modification timestamp (UNIX time in seconds)Always included in service level objective responses.
- Returns:
- modifiedAt
-
monitorIds
-
addMonitorIdsItem
-
getMonitorIds
A list of monitor ids that defines the scope of a monitor service level objective.- Returns:
- monitorIds
-
getMonitorIds_JsonNullable
-
setMonitorIds_JsonNullable
-
setMonitorIds
-
name
-
getName
The name of the service level objective object.- Returns:
- name
-
setName
-
overallStatus
-
addOverallStatusItem
public SearchServiceLevelObjectiveAttributes addOverallStatusItem(SLOOverallStatuses overallStatusItem) -
getOverallStatus
calculated status and error budget remaining.- Returns:
- overallStatus
-
setOverallStatus
-
query
-
getQuery
A metric-based SLO. Required if type ismetric. 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.- Returns:
- query
-
getQuery_JsonNullable
-
setQuery_JsonNullable
public void setQuery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SearchSLOQuery> query) -
setQuery
-
serviceTags
-
addServiceTagsItem
-
getServiceTags
Tags with theservicetag key.- Returns:
- serviceTags
-
setServiceTags
-
sloType
-
getSloType
The type of the service level objective.- Returns:
- sloType
-
setSloType
-
status
-
getStatus
Status of the SLO's primary timeframe.- Returns:
- status
-
setStatus
-
teamTags
-
addTeamTagsItem
-
getTeamTags
Tags with theteamtag key.- Returns:
- teamTags
-
setTeamTags
-
thresholds
-
addThresholdsItem
-
getThresholds
The thresholds (timeframes and associated targets) for this service level objective object.- Returns:
- thresholds
-
setThresholds
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- SearchServiceLevelObjectiveAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this SearchServiceLevelObjectiveAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-