@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOCorrectionCreateRequestAttributes extends Object
Exactly one of slo_id or slo_query must be provided.
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CATEGORY |
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_DURATION |
static String |
JSON_PROPERTY_END |
static String |
JSON_PROPERTY_RRULE |
static String |
JSON_PROPERTY_SLO_ID |
static String |
JSON_PROPERTY_SLO_QUERY |
static String |
JSON_PROPERTY_START |
static String |
JSON_PROPERTY_TIMEZONE |
boolean |
unparsed |
| Constructor and Description |
|---|
SLOCorrectionCreateRequestAttributes() |
SLOCorrectionCreateRequestAttributes(SLOCorrectionCategory category,
Long start) |
| Modifier and Type | Method and Description |
|---|---|
SLOCorrectionCreateRequestAttributes |
category(SLOCorrectionCategory category) |
SLOCorrectionCreateRequestAttributes |
description(String description) |
SLOCorrectionCreateRequestAttributes |
duration(Long duration) |
SLOCorrectionCreateRequestAttributes |
end(Long end) |
boolean |
equals(Object o)
Return true if this SLOCorrectionCreateRequestAttributes 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.
|
SLOCorrectionCategory |
getCategory()
Category the SLO correction belongs to.
|
String |
getDescription()
Description of the correction being made.
|
Long |
getDuration()
Length of time (in seconds) for a specified
rrule recurring SLO correction. |
Long |
getEnd()
Ending time of the correction in epoch seconds.
|
String |
getRrule()
The recurrence rules as defined in the iCalendar RFC 5545.
|
String |
getSloId()
ID of the single SLO that this correction applies to.
|
String |
getSloQuery()
Query that matches the SLOs this correction applies to.
|
Long |
getStart()
Starting time of the correction in epoch seconds.
|
String |
getTimezone()
The timezone to display in the UI for the correction times (defaults to "UTC").
|
int |
hashCode() |
SLOCorrectionCreateRequestAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SLOCorrectionCreateRequestAttributes |
rrule(String rrule) |
void |
setCategory(SLOCorrectionCategory category) |
void |
setDescription(String description) |
void |
setDuration(Long duration) |
void |
setEnd(Long end) |
void |
setRrule(String rrule) |
void |
setSloId(String sloId) |
void |
setSloQuery(String sloQuery) |
void |
setStart(Long start) |
void |
setTimezone(String timezone) |
SLOCorrectionCreateRequestAttributes |
sloId(String sloId) |
SLOCorrectionCreateRequestAttributes |
sloQuery(String sloQuery) |
SLOCorrectionCreateRequestAttributes |
start(Long start) |
SLOCorrectionCreateRequestAttributes |
timezone(String timezone) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CATEGORY
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DURATION
public static final String JSON_PROPERTY_END
public static final String JSON_PROPERTY_RRULE
public static final String JSON_PROPERTY_SLO_ID
public static final String JSON_PROPERTY_SLO_QUERY
public static final String JSON_PROPERTY_START
public static final String JSON_PROPERTY_TIMEZONE
public SLOCorrectionCreateRequestAttributes()
public SLOCorrectionCreateRequestAttributes(SLOCorrectionCategory category, Long start)
public SLOCorrectionCreateRequestAttributes category(SLOCorrectionCategory category)
public SLOCorrectionCategory getCategory()
public void setCategory(SLOCorrectionCategory category)
public SLOCorrectionCreateRequestAttributes description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public SLOCorrectionCreateRequestAttributes duration(Long duration)
@Nullable public Long getDuration()
rrule recurring SLO correction.public void setDuration(Long duration)
public SLOCorrectionCreateRequestAttributes end(Long end)
@Nullable public Long getEnd()
public void setEnd(Long end)
public SLOCorrectionCreateRequestAttributes rrule(String rrule)
@Nullable public String getRrule()
FREQ, INTERVAL, COUNT, UNTIL
and BYDAY.public void setRrule(String rrule)
public SLOCorrectionCreateRequestAttributes sloId(String sloId)
@Nullable public String getSloId()
public void setSloId(String sloId)
public SLOCorrectionCreateRequestAttributes sloQuery(String sloQuery)
@Nullable public String getSloQuery()
public void setSloQuery(String sloQuery)
public SLOCorrectionCreateRequestAttributes start(Long start)
public Long getStart()
public void setStart(Long start)
public SLOCorrectionCreateRequestAttributes timezone(String timezone)
@Nullable public String getTimezone()
public void setTimezone(String timezone)
public SLOCorrectionCreateRequestAttributes 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 © 2026. All rights reserved.