@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PrintReportRequestAttributes extends Object
timeframe (for a
relative time window) or both from_ts and to_ts (for an absolute time
range).| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FROM_TS |
static String |
JSON_PROPERTY_RESOURCE_ID |
static String |
JSON_PROPERTY_RESOURCE_TYPE |
static String |
JSON_PROPERTY_TEMPLATE_VARIABLES |
static String |
JSON_PROPERTY_TIMEFRAME |
static String |
JSON_PROPERTY_TIMEZONE |
static String |
JSON_PROPERTY_TO_TS |
boolean |
unparsed |
| Constructor and Description |
|---|
PrintReportRequestAttributes() |
PrintReportRequestAttributes(String resourceId,
ReportScheduleResourceType resourceType,
List<ReportScheduleTemplateVariable> templateVariables,
String timezone) |
| Modifier and Type | Method and Description |
|---|---|
PrintReportRequestAttributes |
addTemplateVariablesItem(ReportScheduleTemplateVariable templateVariablesItem) |
boolean |
equals(Object o)
Return true if this PrintReportRequestAttributes object is equal to o.
|
PrintReportRequestAttributes |
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 start of an absolute time range, as a Unix timestamp in milliseconds.
|
String |
getResourceId()
The identifier of the dashboard or integration dashboard to render.
|
ReportScheduleResourceType |
getResourceType()
The type of dashboard resource the report schedule targets.
|
List<ReportScheduleTemplateVariable> |
getTemplateVariables()
The dashboard template variables applied when rendering the report.
|
String |
getTimeframe()
A relative time window (for example
1w or calendar_month). |
String |
getTimezone()
The IANA time zone identifier used to evaluate the time window.
|
Long |
getToTs()
The end of an absolute time range, as a Unix timestamp in milliseconds.
|
int |
hashCode() |
PrintReportRequestAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
PrintReportRequestAttributes |
resourceId(String resourceId) |
PrintReportRequestAttributes |
resourceType(ReportScheduleResourceType resourceType) |
void |
setFromTs(Long fromTs) |
void |
setResourceId(String resourceId) |
void |
setResourceType(ReportScheduleResourceType resourceType) |
void |
setTemplateVariables(List<ReportScheduleTemplateVariable> templateVariables) |
void |
setTimeframe(String timeframe) |
void |
setTimezone(String timezone) |
void |
setToTs(Long toTs) |
PrintReportRequestAttributes |
templateVariables(List<ReportScheduleTemplateVariable> templateVariables) |
PrintReportRequestAttributes |
timeframe(String timeframe) |
PrintReportRequestAttributes |
timezone(String timezone) |
String |
toString() |
PrintReportRequestAttributes |
toTs(Long toTs) |
public boolean unparsed
public static final String JSON_PROPERTY_FROM_TS
public static final String JSON_PROPERTY_RESOURCE_ID
public static final String JSON_PROPERTY_RESOURCE_TYPE
public static final String JSON_PROPERTY_TEMPLATE_VARIABLES
public static final String JSON_PROPERTY_TIMEFRAME
public static final String JSON_PROPERTY_TIMEZONE
public static final String JSON_PROPERTY_TO_TS
public PrintReportRequestAttributes()
public PrintReportRequestAttributes(String resourceId, ReportScheduleResourceType resourceType, List<ReportScheduleTemplateVariable> templateVariables, String timezone)
public PrintReportRequestAttributes fromTs(Long fromTs)
@Nullable public Long getFromTs()
timeframe is omitted.public void setFromTs(Long fromTs)
public PrintReportRequestAttributes resourceId(String resourceId)
public String getResourceId()
public void setResourceId(String resourceId)
public PrintReportRequestAttributes resourceType(ReportScheduleResourceType resourceType)
public ReportScheduleResourceType getResourceType()
public void setResourceType(ReportScheduleResourceType resourceType)
public PrintReportRequestAttributes templateVariables(List<ReportScheduleTemplateVariable> templateVariables)
public PrintReportRequestAttributes addTemplateVariablesItem(ReportScheduleTemplateVariable templateVariablesItem)
public List<ReportScheduleTemplateVariable> getTemplateVariables()
public void setTemplateVariables(List<ReportScheduleTemplateVariable> templateVariables)
public PrintReportRequestAttributes timeframe(String timeframe)
@Nullable public String getTimeframe()
1w or calendar_month). Mutually
exclusive with from_ts and to_ts.public void setTimeframe(String timeframe)
public PrintReportRequestAttributes timezone(String timezone)
public String getTimezone()
public void setTimezone(String timezone)
public PrintReportRequestAttributes toTs(Long toTs)
@Nullable public Long getToTs()
timeframe is omitted.public void setToTs(Long toTs)
public PrintReportRequestAttributes 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.