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.
Constructor Summary
Constructor | Description | |
---|---|---|
PoolStatistics() |
Method Summary
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
lastUpdateTime()
Get the last |
Resource |
resourceStats()
Get the resource |
org.joda.time.DateTime |
startTime()
Get the start |
String |
url()
Get the url value. |
Usage |
usageStats()
Get the usage |
Pool |
withLastUpdateTime(DateTime lastUpdateTime)
Set the last |
Pool |
withResourceStats(ResourceStatistics resourceStats)
Set the resource |
Pool |
withStartTime(DateTime startTime)
Set the start |
Pool |
withUrl(String url)
Set the url value. |
Pool |
withUsageStats(UsageStatistics usageStats)
Set the usage |
Methods inherited from java.lang.Object
Constructor Details
PoolStatistics
public PoolStatistics()
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