Package com.datadog.api.client.v1.model
Class UsageLogsByIndexHour
java.lang.Object
com.datadog.api.client.v1.model.UsageLogsByIndexHour
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UsageLogsByIndexHour
extends Object
Number of indexed logs for each hour and index for a given organization.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this UsageLogsByIndexHour object is equal to o.eventCount(Long eventCount) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The total number of indexed logs for the queried hour.getHour()The hour for the usage.The index ID for this usage.The user specified name for this index ID.The organization name.The organization public ID.The retention period (in days) for this index ID.inthashCode()hour(OffsetDateTime hour) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEventCount(Long eventCount) voidsetHour(OffsetDateTime hour) voidsetIndexId(String indexId) voidsetIndexName(String indexName) voidsetOrgName(String orgName) voidsetPublicId(String publicId) voidsetRetention(Long retention) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_EVENT_COUNT
- See Also:
-
JSON_PROPERTY_HOUR
- See Also:
-
JSON_PROPERTY_INDEX_ID
- See Also:
-
JSON_PROPERTY_INDEX_NAME
- See Also:
-
JSON_PROPERTY_ORG_NAME
- See Also:
-
JSON_PROPERTY_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_RETENTION
- See Also:
-
-
Constructor Details
-
UsageLogsByIndexHour
public UsageLogsByIndexHour()
-
-
Method Details
-
eventCount
-
getEventCount
The total number of indexed logs for the queried hour.- Returns:
- eventCount
-
setEventCount
-
hour
-
getHour
The hour for the usage.- Returns:
- hour
-
setHour
-
indexId
-
getIndexId
The index ID for this usage.- Returns:
- indexId
-
setIndexId
-
indexName
-
getIndexName
The user specified name for this index ID.- Returns:
- indexName
-
setIndexName
-
orgName
-
getOrgName
The organization name.- Returns:
- orgName
-
setOrgName
-
publicId
-
getPublicId
The organization public ID.- Returns:
- publicId
-
setPublicId
-
retention
-
getRetention
The retention period (in days) for this index ID.- Returns:
- retention
-
setRetention
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- UsageLogsByIndexHour
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this UsageLogsByIndexHour object is equal to o. -
hashCode
public int hashCode() -
toString
-