public class TenantAggregateHostProtectionElement
extends java.lang.Object
| Constructor and Description |
|---|
TenantAggregateHostProtectionElement() |
| Modifier and Type | Method and Description |
|---|---|
long |
getAggregateProtection()
The total amount of protection time received over the requested time period,
in seconds.
|
long |
getCumulativeHours()
The cumulative number of hours (partial hours rounded up)
of protection the tenant has received over the tenant's lifetime
Note that this value is stored by Deep Security Manager and is only updated periodically, that is, it is not computed for every API call This means that if the period over which protection information is requested starts before the tenant was created and ends at the current time, this value may be less than the value returned for the aggregate protection time. |
long |
getCumulativeSeconds()
The cumulative number of seconds of protection the tenant has received
over the tenant's lifetime
Note that this value is stored by Deep Security Manager and is only updated periodically, that is, it is not computed for every API call This means that if the period over which protection information is requested starts before the tenant was created and ends at the current time, this value may be less than the value returned for the aggregate protection time. |
java.lang.Integer |
getTenantID()
The internal ID of the tenant.
|
java.lang.String |
getTenantName()
The name of the tenant.
|
void |
setAggregateProtection(long aggregateProtection) |
void |
setCumulativeHours(long cumulativeHours) |
void |
setCumulativeSeconds(long cumulativeSeconds) |
void |
setTenantID(java.lang.Integer tenantID) |
void |
setTenantName(java.lang.String tenantName) |
public TenantAggregateHostProtectionElement()
public java.lang.String getTenantName()
public void setTenantName(java.lang.String tenantName)
public java.lang.Integer getTenantID()
public void setTenantID(java.lang.Integer tenantID)
public long getAggregateProtection()
public void setAggregateProtection(long aggregateProtection)
public long getCumulativeSeconds()
public void setCumulativeSeconds(long cumulativeSeconds)
public long getCumulativeHours()
public void setCumulativeHours(long cumulativeHours)
Copyright © 2015 Trend Micro Inc. All Rights Reserved.