UsageStatistics Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. UsageStatistics
- com.
public class UsageStatistics
Statistics related to Pool usage information.
Constructor Summary
Constructor | Description | |
---|---|---|
UsageStatistics() |
Method Summary
Modifier and Type | Method and Description |
---|---|
org.joda.time.Period |
dedicatedCoreTime()
Get the dedicated |
org.joda.time.DateTime |
lastUpdateTime()
Get the last |
org.joda.time.DateTime |
startTime()
Get the start |
Usage |
withDedicatedCoreTime(Period dedicatedCoreTime)
Set the dedicated |
Usage |
withLastUpdateTime(DateTime lastUpdateTime)
Set the last |
Usage |
withStartTime(DateTime startTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
UsageStatistics
public UsageStatistics()
Method Details
dedicatedCoreTime
public Period dedicatedCoreTime()
Get the dedicatedCoreTime value.
Returns:
lastUpdateTime
public DateTime lastUpdateTime()
Get the lastUpdateTime value.
Returns:
startTime
public DateTime startTime()
Get the startTime value.
Returns:
withDedicatedCoreTime
public UsageStatistics withDedicatedCoreTime(Period dedicatedCoreTime)
Set the dedicatedCoreTime value.
Parameters:
Returns:
withLastUpdateTime
public UsageStatistics withLastUpdateTime(DateTime lastUpdateTime)
Set the lastUpdateTime value.
Parameters:
Returns:
withStartTime
public UsageStatistics withStartTime(DateTime startTime)
Set the startTime value.
Parameters:
Returns:
Applies to
Azure SDK for Java