PoolStatistics Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.PoolStatistics

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.

ResourceStatistics resourceStats()

Get the resourceStats value.

DateTime startTime()

Get the startTime value.

String url()

Get the url value.

UsageStatistics usageStats()

Get the usageStats value.

PoolStatistics withLastUpdateTime(DateTime lastUpdateTime)

Set the lastUpdateTime value.

PoolStatistics withResourceStats(ResourceStatistics resourceStats)

Set the resourceStats value.

PoolStatistics withStartTime(DateTime startTime)

Set the startTime value.

PoolStatistics withUrl(String url)

Set the url value.

PoolStatistics withUsageStats(UsageStatistics usageStats)

Set the usageStats value.

Method Details

lastUpdateTime

public DateTime lastUpdateTime()

Get the lastUpdateTime value.

Returns:

the lastUpdateTime value

resourceStats

public ResourceStatistics resourceStats()

Get the resourceStats value.

Returns:

the resourceStats value

startTime

public DateTime startTime()

Get the startTime value.

Returns:

the startTime value

url

public String url()

Get the url value.

Returns:

the url value

usageStats

public UsageStatistics usageStats()

Get the usageStats value.

Returns:

the usageStats value

withLastUpdateTime

public PoolStatistics withLastUpdateTime(DateTime lastUpdateTime)

Set the lastUpdateTime value.

Parameters:

lastUpdateTime - the lastUpdateTime value to set

Returns:

the PoolStatistics object itself.

withResourceStats

public PoolStatistics withResourceStats(ResourceStatistics resourceStats)

Set the resourceStats value.

Parameters:

resourceStats - the resourceStats value to set

Returns:

the PoolStatistics object itself.

withStartTime

public PoolStatistics withStartTime(DateTime startTime)

Set the startTime value.

Parameters:

startTime - the startTime value to set

Returns:

the PoolStatistics object itself.

withUrl

public PoolStatistics withUrl(String url)

Set the url value.

Parameters:

url - the url value to set

Returns:

the PoolStatistics object itself.

withUsageStats

public PoolStatistics withUsageStats(UsageStatistics usageStats)

Set the usageStats value.

Parameters:

usageStats - the usageStats value to set

Returns:

the PoolStatistics object itself.

Applies to