BatchPoolGetOptions Class

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

public final class BatchPoolGetOptions

Optional parameters for Get Pool operation.

Constructor Summary

Constructor Description
BatchPoolGetOptions()

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

BatchPoolGetOptions setExpand(List<String> expand)

Set the expand property: An OData $expand clause.

BatchPoolGetOptions setSelect(List<String> select)

Set the select property: An OData $select clause.

BatchPoolGetOptions 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

BatchPoolGetOptions

public BatchPoolGetOptions()

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

Set the expand property: An OData $expand clause.

Parameters:

expand - the expand value to set.

Returns:

the BatchPoolGetOptions object itself.

setSelect

public BatchPoolGetOptions setSelect(List<String> select)

Set the select property: An OData $select clause.

Parameters:

select - the select value to set.

Returns:

the BatchPoolGetOptions object itself.

setTimeOutInSeconds

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

Applies to