@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOCorrectionUpdateRequestAttributes extends Object
| 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_START |
static String |
JSON_PROPERTY_TIMEZONE |
boolean |
unparsed |
| Constructor and Description |
|---|
SLOCorrectionUpdateRequestAttributes() |
| Modifier and Type | Method and Description |
|---|---|
SLOCorrectionUpdateRequestAttributes |
category(SLOCorrectionCategory category) |
SLOCorrectionUpdateRequestAttributes |
description(String description) |
SLOCorrectionUpdateRequestAttributes |
duration(Long duration) |
SLOCorrectionUpdateRequestAttributes |
end(Long end) |
boolean |
equals(Object o)
Return true if this SLOCorrectionUpdateRequestAttributes 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.
|
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() |
SLOCorrectionUpdateRequestAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SLOCorrectionUpdateRequestAttributes |
rrule(String rrule) |
void |
setCategory(SLOCorrectionCategory category) |
void |
setDescription(String description) |
void |
setDuration(Long duration) |
void |
setEnd(Long end) |
void |
setRrule(String rrule) |
void |
setStart(Long start) |
void |
setTimezone(String timezone) |
SLOCorrectionUpdateRequestAttributes |
start(Long start) |
SLOCorrectionUpdateRequestAttributes |
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_START
public static final String JSON_PROPERTY_TIMEZONE
public SLOCorrectionUpdateRequestAttributes()
public SLOCorrectionUpdateRequestAttributes category(SLOCorrectionCategory category)
@Nullable public SLOCorrectionCategory getCategory()
public void setCategory(SLOCorrectionCategory category)
public SLOCorrectionUpdateRequestAttributes description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public SLOCorrectionUpdateRequestAttributes duration(Long duration)
@Nullable public Long getDuration()
rrule recurring SLO correction.public void setDuration(Long duration)
public SLOCorrectionUpdateRequestAttributes end(Long end)
@Nullable public Long getEnd()
public void setEnd(Long end)
public SLOCorrectionUpdateRequestAttributes rrule(String rrule)
@Nullable public String getRrule()
FREQ, INTERVAL, COUNT, UNTIL
and BYDAY.public void setRrule(String rrule)
public SLOCorrectionUpdateRequestAttributes start(Long start)
@Nullable public Long getStart()
public void setStart(Long start)
public SLOCorrectionUpdateRequestAttributes timezone(String timezone)
@Nullable public String getTimezone()
public void setTimezone(String timezone)
public SLOCorrectionUpdateRequestAttributes 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.