Class ListBatchTasksOptions

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

public final class ListBatchTasksOptions extends Object
Optional parameters for List Tasks operation.
  • Constructor Details

    • ListBatchTasksOptions

      public ListBatchTasksOptions()
      Creates an instance of ListBatchTasksOptions 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 ListBatchTasksOptions 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 ListBatchTasksOptions 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 ListBatchTasksOptions 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 ListBatchTasksOptions 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-tasks.
      Returns:
      the filter value.
    • setFilter

      public ListBatchTasksOptions 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-tasks.
      Parameters:
      filter - the filter value to set.
      Returns:
      the ListBatchTasksOptions object itself.
    • getSelect

      public List<String> getSelect()
      Get the select property: An OData $select clause.
      Returns:
      the select value.
    • setSelect

      public ListBatchTasksOptions setSelect(List<String> select)
      Set the select property: An OData $select clause.
      Parameters:
      select - the select value to set.
      Returns:
      the ListBatchTasksOptions object itself.
    • getExpand

      public List<String> getExpand()
      Get the expand property: An OData $expand clause.
      Returns:
      the expand value.
    • setExpand

      public ListBatchTasksOptions setExpand(List<String> expand)
      Set the expand property: An OData $expand clause.
      Parameters:
      expand - the expand value to set.
      Returns:
      the ListBatchTasksOptions object itself.