@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsListRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_INDEX |
static String |
JSON_PROPERTY_LIMIT |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_SORT |
static String |
JSON_PROPERTY_START_AT |
static String |
JSON_PROPERTY_TIME |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsListRequest() |
LogsListRequest(LogsListRequestTime time) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this LogsListRequest 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.
|
String |
getIndex()
The log index on which the request is performed.
|
Integer |
getLimit()
Number of logs return in the response.
|
String |
getQuery()
The search query - following the log search syntax.
|
LogsSort |
getSort()
Time-ascending
asc or time-descending desc results. |
String |
getStartAt()
Hash identifier of the first log to return in the list, available in a log
id
attribute. |
LogsListRequestTime |
getTime()
Timeframe to retrieve the log from.
|
int |
hashCode() |
LogsListRequest |
index(String index) |
LogsListRequest |
limit(Integer limit) |
LogsListRequest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
LogsListRequest |
query(String query) |
void |
setIndex(String index) |
void |
setLimit(Integer limit) |
void |
setQuery(String query) |
void |
setSort(LogsSort sort) |
void |
setStartAt(String startAt) |
void |
setTime(LogsListRequestTime time) |
LogsListRequest |
sort(LogsSort sort) |
LogsListRequest |
startAt(String startAt) |
LogsListRequest |
time(LogsListRequestTime time) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_INDEX
public static final String JSON_PROPERTY_LIMIT
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_SORT
public static final String JSON_PROPERTY_START_AT
public static final String JSON_PROPERTY_TIME
public LogsListRequest()
public LogsListRequest(LogsListRequestTime time)
public LogsListRequest index(String index)
@Nullable public String getIndex()
public void setIndex(String index)
public LogsListRequest limit(Integer limit)
@Nullable public Integer getLimit()
public void setLimit(Integer limit)
public LogsListRequest query(String query)
@Nullable public String getQuery()
public void setQuery(String query)
public LogsListRequest sort(LogsSort sort)
@Nullable public LogsSort getSort()
asc or time-descending desc results.public void setSort(LogsSort sort)
public LogsListRequest startAt(String startAt)
@Nullable public String getStartAt()
id
attribute. This parameter is used for the pagination feature.
Note: This parameter is ignored if the corresponding log is out of the scope of the specified time window.
public void setStartAt(String startAt)
public LogsListRequest time(LogsListRequestTime time)
public LogsListRequestTime getTime()
public void setTime(LogsListRequestTime time)
public LogsListRequest 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.