PoolStatistics Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. PoolStatistics
- com.
public class PoolStatistics
Contains utilization and resource usage statistics for the lifetime of a pool.
Method Summary
Modifier and Type | Method and Description |
---|---|
DateTime |
lastUpdateTime()
Get the lastUpdateTime value. |
Resource |
resourceStats()
Get the resourceStats value. |
DateTime |
startTime()
Get the startTime value. |
String |
url()
Get the url value. |
Usage |
usageStats()
Get the usageStats value. |
Pool |
withLastUpdateTime(DateTime lastUpdateTime)
Set the lastUpdateTime value. |
Pool |
withResourceStats(ResourceStatistics resourceStats)
Set the resourceStats value. |
Pool |
withStartTime(DateTime startTime)
Set the startTime value. |
Pool |
withUrl(String url)
Set the url value. |
Pool |
withUsageStats(UsageStatistics usageStats)
Set the usageStats value. |
Method Details
lastUpdateTime
public DateTime lastUpdateTime()
Get the lastUpdateTime value.
Returns:
resourceStats
public ResourceStatistics resourceStats()
Get the resourceStats value.
Returns:
startTime
public DateTime startTime()
Get the startTime value.
Returns:
url
public String url()
Get the url value.
Returns:
usageStats
public UsageStatistics usageStats()
Get the usageStats value.
Returns:
withLastUpdateTime
public PoolStatistics withLastUpdateTime(DateTime lastUpdateTime)
Set the lastUpdateTime value.
Parameters:
Returns:
withResourceStats
public PoolStatistics withResourceStats(ResourceStatistics resourceStats)
Set the resourceStats value.
Parameters:
Returns:
withStartTime
public PoolStatistics withStartTime(DateTime startTime)
Set the startTime value.
Parameters:
Returns:
withUrl
public PoolStatistics withUrl(String url)
Set the url value.
Parameters:
Returns:
withUsageStats
public PoolStatistics withUsageStats(UsageStatistics usageStats)
Set the usageStats value.
Parameters:
Returns:
Applies to
Azure SDK for Java