BatchTaskGetOptions Class

  • java.lang.Object
    • com.azure.compute.batch.models.BatchTaskGetOptions

public final class BatchTaskGetOptions

Optional parameters for Get Task operation.

Constructor Summary

Constructor Description
BatchTaskGetOptions()

Creates an instance of BatchTaskGetOptions class.

Method Summary

Modifier and Type Method and Description
List<String> getExpand()

Get the expand property: An OData $expand clause.

List<String> getSelect()

Get the select property: An OData $select clause.

Duration getTimeOutInSeconds()

Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.

BatchTaskGetOptions setExpand(List<String> expand)

Set the expand property: An OData $expand clause.

BatchTaskGetOptions setSelect(List<String> select)

Set the select property: An OData $select clause.

BatchTaskGetOptions setTimeOutInSeconds(Duration timeOutInSeconds)

Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.

Methods inherited from java.lang.Object

Constructor Details

BatchTaskGetOptions

public BatchTaskGetOptions()

Creates an instance of BatchTaskGetOptions class.

Method Details

getExpand

public List<String> getExpand()

Get the expand property: An OData $expand clause.

Returns:

the expand value.

getSelect

public List<String> getSelect()

Get the select property: An OData $select clause.

Returns:

the select value.

getTimeOutInSeconds

public Duration 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.

setExpand

public BatchTaskGetOptions setExpand(List<String> expand)

Set the expand property: An OData $expand clause.

Parameters:

expand - the expand value to set.

Returns:

the BatchTaskGetOptions object itself.

setSelect

public BatchTaskGetOptions setSelect(List<String> select)

Set the select property: An OData $select clause.

Parameters:

select - the select value to set.

Returns:

the BatchTaskGetOptions object itself.

setTimeOutInSeconds

public BatchTaskGetOptions setTimeOutInSeconds(Duration 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 BatchTaskGetOptions object itself.

Applies to