Class PoolUsageMetrics


  • public class PoolUsageMetrics
    extends Object
    Usage metrics for a Pool across an aggregation interval.
    • Constructor Detail

      • PoolUsageMetrics

        public PoolUsageMetrics()
    • Method Detail

      • poolId

        public String poolId()
        Get the poolId value.
        Returns:
        the poolId value
      • withPoolId

        public PoolUsageMetrics withPoolId​(String poolId)
        Set the poolId value.
        Parameters:
        poolId - the poolId value to set
        Returns:
        the PoolUsageMetrics object itself.
      • startTime

        public org.joda.time.DateTime startTime()
        Get the startTime value.
        Returns:
        the startTime value
      • withStartTime

        public PoolUsageMetrics withStartTime​(org.joda.time.DateTime startTime)
        Set the startTime value.
        Parameters:
        startTime - the startTime value to set
        Returns:
        the PoolUsageMetrics object itself.
      • endTime

        public org.joda.time.DateTime endTime()
        Get the endTime value.
        Returns:
        the endTime value
      • withEndTime

        public PoolUsageMetrics withEndTime​(org.joda.time.DateTime endTime)
        Set the endTime value.
        Parameters:
        endTime - the endTime value to set
        Returns:
        the PoolUsageMetrics object itself.
      • vmSize

        public String vmSize()
        Get for information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).
        Returns:
        the vmSize value
      • withVmSize

        public PoolUsageMetrics withVmSize​(String vmSize)
        Set for information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).
        Parameters:
        vmSize - the vmSize value to set
        Returns:
        the PoolUsageMetrics object itself.
      • totalCoreHours

        public double totalCoreHours()
        Get the totalCoreHours value.
        Returns:
        the totalCoreHours value
      • withTotalCoreHours

        public PoolUsageMetrics withTotalCoreHours​(double totalCoreHours)
        Set the totalCoreHours value.
        Parameters:
        totalCoreHours - the totalCoreHours value to set
        Returns:
        the PoolUsageMetrics object itself.