Class ListBatchPoolUsageMetricsOptions

java.lang.Object
com.azure.compute.batch.models.ListBatchPoolUsageMetricsOptions

public final class ListBatchPoolUsageMetricsOptions extends Object
Optional parameters for List Pool Usage Metrics operation.
  • Constructor Details

    • ListBatchPoolUsageMetricsOptions

      public ListBatchPoolUsageMetricsOptions()
      Creates an instance of ListBatchPoolUsageMetricsOptions class.
  • Method Details

    • getTimeOutInSeconds

      public Integer getTimeOutInSeconds()
      Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
      Returns:
      the timeOutInSeconds value.
    • setTimeOutInSeconds

      public ListBatchPoolUsageMetricsOptions setTimeOutInSeconds(Integer timeOutInSeconds)
      Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
      Parameters:
      timeOutInSeconds - the timeOutInSeconds value to set.
      Returns:
      the ListBatchPoolUsageMetricsOptions object itself.
    • getMaxPageSize

      public Integer getMaxPageSize()
      Get the maxPageSize property: The maximum number of items to return in the response. A maximum of 1000 applications can be returned.
      Returns:
      the maxPageSize value.
    • setMaxPageSize

      public ListBatchPoolUsageMetricsOptions setMaxPageSize(Integer maxPageSize)
      Set the maxPageSize property: The maximum number of items to return in the response. A maximum of 1000 applications can be returned.
      Parameters:
      maxPageSize - the maxPageSize value to set.
      Returns:
      the ListBatchPoolUsageMetricsOptions object itself.
    • getStartTime

      public OffsetDateTime getStartTime()
      Get the startTime property: The earliest time from which to include metrics. This must be at least two and a half hours before the current time. If not specified this defaults to the start time of the last aggregation interval currently available.
      Returns:
      the startTime value.
    • setStartTime

      public ListBatchPoolUsageMetricsOptions setStartTime(OffsetDateTime startTime)
      Set the startTime property: The earliest time from which to include metrics. This must be at least two and a half hours before the current time. If not specified this defaults to the start time of the last aggregation interval currently available.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the ListBatchPoolUsageMetricsOptions object itself.
    • getEndtime

      public OffsetDateTime getEndtime()
      Get the endtime property: The latest time from which to include metrics. This must be at least two hours before the current time. If not specified this defaults to the end time of the last aggregation interval currently available.
      Returns:
      the endtime value.
    • setEndtime

      public ListBatchPoolUsageMetricsOptions setEndtime(OffsetDateTime endtime)
      Set the endtime property: The latest time from which to include metrics. This must be at least two hours before the current time. If not specified this defaults to the end time of the last aggregation interval currently available.
      Parameters:
      endtime - the endtime value to set.
      Returns:
      the ListBatchPoolUsageMetricsOptions object itself.
    • getFilter

      public String getFilter()
      Get the filter property: An OData $filter clause. For more information on constructing this filter, see https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
      Returns:
      the filter value.
    • setFilter

      public ListBatchPoolUsageMetricsOptions setFilter(String filter)
      Set the filter property: An OData $filter clause. For more information on constructing this filter, see https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
      Parameters:
      filter - the filter value to set.
      Returns:
      the ListBatchPoolUsageMetricsOptions object itself.