BatchJobGetOptions Class

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

public final class BatchJobGetOptions

Optional parameters for Get Job operation.

Constructor Summary

Constructor Description
BatchJobGetOptions()

Creates an instance of BatchJobGetOptions 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.

BatchJobGetOptions setExpand(List<String> expand)

Set the expand property: An OData $expand clause.

BatchJobGetOptions setSelect(List<String> select)

Set the select property: An OData $select clause.

BatchJobGetOptions 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

BatchJobGetOptions

public BatchJobGetOptions()

Creates an instance of BatchJobGetOptions 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 BatchJobGetOptions setExpand(List<String> expand)

Set the expand property: An OData $expand clause.

Parameters:

expand - the expand value to set.

Returns:

the BatchJobGetOptions object itself.

setSelect

public BatchJobGetOptions setSelect(List<String> select)

Set the select property: An OData $select clause.

Parameters:

select - the select value to set.

Returns:

the BatchJobGetOptions object itself.

setTimeOutInSeconds

public BatchJobGetOptions 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 BatchJobGetOptions object itself.

Applies to