Package com.azure.compute.batch.models
Class ListBatchPoolUsageMetricsOptions
java.lang.Object
com.azure.compute.batch.models.ListBatchPoolUsageMetricsOptions
Optional parameters for List Pool Usage Metrics operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ListBatchPoolUsageMetricsOptions class. -
Method Summary
Modifier and TypeMethodDescriptionGet the endtime property: The latest time from which to include metrics.Get the filter property: An OData $filter clause.Get the maxPageSize property: The maximum number of items to return in the response.Get the startTime property: The earliest time from which to include metrics.Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.setEndtime
(OffsetDateTime endtime) Set the endtime property: The latest time from which to include metrics.Set the filter property: An OData $filter clause.setMaxPageSize
(Integer maxPageSize) Set the maxPageSize property: The maximum number of items to return in the response.setStartTime
(OffsetDateTime startTime) Set the startTime property: The earliest time from which to include metrics.setTimeOutInSeconds
(Integer timeOutInSeconds) Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.
-
Constructor Details
-
ListBatchPoolUsageMetricsOptions
public ListBatchPoolUsageMetricsOptions()Creates an instance of ListBatchPoolUsageMetricsOptions class.
-
-
Method Details
-
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
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
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
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
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
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
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
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
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
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.
-