@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SloReportCreateRequestAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FROM_TS |
static String |
JSON_PROPERTY_INTERVAL |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_TIMEZONE |
static String |
JSON_PROPERTY_TO_TS |
boolean |
unparsed |
| Constructor and Description |
|---|
SloReportCreateRequestAttributes() |
SloReportCreateRequestAttributes(Long fromTs,
String query,
Long toTs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this SloReportCreateRequestAttributes object is equal to o.
|
SloReportCreateRequestAttributes |
fromTs(Long fromTs) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getFromTs()
The
from timestamp for the report in epoch seconds. |
SLOReportInterval |
getInterval()
The frequency at which report data is to be generated.
|
String |
getQuery()
The query string used to filter SLO results.
|
String |
getTimezone()
The timezone used to determine the start and end of each interval.
|
Long |
getToTs()
The
to timestamp for the report in epoch seconds. |
int |
hashCode() |
SloReportCreateRequestAttributes |
interval(SLOReportInterval interval) |
SloReportCreateRequestAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SloReportCreateRequestAttributes |
query(String query) |
void |
setFromTs(Long fromTs) |
void |
setInterval(SLOReportInterval interval) |
void |
setQuery(String query) |
void |
setTimezone(String timezone) |
void |
setToTs(Long toTs) |
SloReportCreateRequestAttributes |
timezone(String timezone) |
String |
toString() |
SloReportCreateRequestAttributes |
toTs(Long toTs) |
public boolean unparsed
public static final String JSON_PROPERTY_FROM_TS
public static final String JSON_PROPERTY_INTERVAL
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_TIMEZONE
public static final String JSON_PROPERTY_TO_TS
public SloReportCreateRequestAttributes fromTs(Long fromTs)
public Long getFromTs()
from timestamp for the report in epoch seconds.public void setFromTs(Long fromTs)
public SloReportCreateRequestAttributes interval(SLOReportInterval interval)
@Nullable public SLOReportInterval getInterval()
public void setInterval(SLOReportInterval interval)
public SloReportCreateRequestAttributes query(String query)
public String getQuery()
service:<service-name> and slo-name.public void setQuery(String query)
public SloReportCreateRequestAttributes timezone(String timezone)
@Nullable public String getTimezone()
public void setTimezone(String timezone)
public SloReportCreateRequestAttributes toTs(Long toTs)
public Long getToTs()
to timestamp for the report in epoch seconds.public void setToTs(Long toTs)
public SloReportCreateRequestAttributes 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.