@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageCWSHour extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JSON_PROPERTY_CWS_CONTAINER_COUNT |
static String |
JSON_PROPERTY_CWS_HOST_COUNT |
static String |
JSON_PROPERTY_HOUR |
static String |
JSON_PROPERTY_ORG_NAME |
static String |
JSON_PROPERTY_PUBLIC_ID |
boolean |
unparsed |
Constructor and Description |
---|
UsageCWSHour() |
Modifier and Type | Method and Description |
---|---|
UsageCWSHour |
cwsContainerCount(Long cwsContainerCount) |
UsageCWSHour |
cwsHostCount(Long cwsHostCount) |
boolean |
equals(Object o)
Return true if this UsageCWSHour object is equal to o.
|
Long |
getCwsContainerCount()
The total number of Cloud Workload Security container hours from the start of the given hour’s
month until the given hour.
|
Long |
getCwsHostCount()
The total number of Cloud Workload Security host hours from the start of the given hour’s month
until the given hour.
|
OffsetDateTime |
getHour()
The hour for the usage.
|
String |
getOrgName()
The organization name.
|
String |
getPublicId()
The organization public ID.
|
int |
hashCode() |
UsageCWSHour |
hour(OffsetDateTime hour) |
UsageCWSHour |
orgName(String orgName) |
UsageCWSHour |
publicId(String publicId) |
void |
setCwsContainerCount(Long cwsContainerCount) |
void |
setCwsHostCount(Long cwsHostCount) |
void |
setHour(OffsetDateTime hour) |
void |
setOrgName(String orgName) |
void |
setPublicId(String publicId) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CWS_CONTAINER_COUNT
public static final String JSON_PROPERTY_CWS_HOST_COUNT
public static final String JSON_PROPERTY_HOUR
public static final String JSON_PROPERTY_ORG_NAME
public static final String JSON_PROPERTY_PUBLIC_ID
public UsageCWSHour cwsContainerCount(Long cwsContainerCount)
@Nullable public Long getCwsContainerCount()
public void setCwsContainerCount(Long cwsContainerCount)
public UsageCWSHour cwsHostCount(Long cwsHostCount)
@Nullable public Long getCwsHostCount()
public void setCwsHostCount(Long cwsHostCount)
public UsageCWSHour hour(OffsetDateTime hour)
@Nullable public OffsetDateTime getHour()
public void setHour(OffsetDateTime hour)
public UsageCWSHour orgName(String orgName)
@Nullable public String getOrgName()
public void setOrgName(String orgName)
public UsageCWSHour publicId(String publicId)
@Nullable public String getPublicId()
public void setPublicId(String publicId)
public boolean equals(Object o)
Copyright © 2023. All rights reserved.