Class PoolStatistics
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.PoolStatistics
-
public class PoolStatistics extends Object
Contains utilization and resource usage statistics for the lifetime of a Pool.
-
-
Constructor Summary
Constructors Constructor Description PoolStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.DateTime
lastUpdateTime()
Get the lastUpdateTime value.ResourceStatistics
resourceStats()
Get the resourceStats value.org.joda.time.DateTime
startTime()
Get the startTime value.String
url()
Get the url value.UsageStatistics
usageStats()
Get the usageStats value.PoolStatistics
withLastUpdateTime(org.joda.time.DateTime lastUpdateTime)
Set the lastUpdateTime value.PoolStatistics
withResourceStats(ResourceStatistics resourceStats)
Set the resourceStats value.PoolStatistics
withStartTime(org.joda.time.DateTime startTime)
Set the startTime value.PoolStatistics
withUrl(String url)
Set the url value.PoolStatistics
withUsageStats(UsageStatistics usageStats)
Set the usageStats value.
-
-
-
Method Detail
-
url
public String url()
Get the url value.- Returns:
- the url value
-
withUrl
public PoolStatistics withUrl(String url)
Set the url value.- Parameters:
url
- the url value to set- Returns:
- the PoolStatistics object itself.
-
startTime
public org.joda.time.DateTime startTime()
Get the startTime value.- Returns:
- the startTime value
-
withStartTime
public PoolStatistics withStartTime(org.joda.time.DateTime startTime)
Set the startTime value.- Parameters:
startTime
- the startTime value to set- Returns:
- the PoolStatistics object itself.
-
lastUpdateTime
public org.joda.time.DateTime lastUpdateTime()
Get the lastUpdateTime value.- Returns:
- the lastUpdateTime value
-
withLastUpdateTime
public PoolStatistics withLastUpdateTime(org.joda.time.DateTime lastUpdateTime)
Set the lastUpdateTime value.- Parameters:
lastUpdateTime
- the lastUpdateTime value to set- Returns:
- the PoolStatistics object itself.
-
usageStats
public UsageStatistics usageStats()
Get the usageStats value.- Returns:
- the usageStats value
-
withUsageStats
public PoolStatistics withUsageStats(UsageStatistics usageStats)
Set the usageStats value.- Parameters:
usageStats
- the usageStats value to set- Returns:
- the PoolStatistics object itself.
-
resourceStats
public ResourceStatistics resourceStats()
Get the resourceStats value.- Returns:
- the resourceStats value
-
withResourceStats
public PoolStatistics withResourceStats(ResourceStatistics resourceStats)
Set the resourceStats value.- Parameters:
resourceStats
- the resourceStats value to set- Returns:
- the PoolStatistics object itself.
-
-