BatchNodeGetOptions Class

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

public final class BatchNodeGetOptions

Optional parameters for Get Node operation.

Constructor Summary

Constructor Description
BatchNodeGetOptions()

Creates an instance of BatchNodeGetOptions class.

Method Summary

Modifier and Type Method and Description
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.

BatchNodeGetOptions setSelect(List<String> select)

Set the select property: An OData $select clause.

BatchNodeGetOptions 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

BatchNodeGetOptions

public BatchNodeGetOptions()

Creates an instance of BatchNodeGetOptions class.

Method Details

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.

setSelect

public BatchNodeGetOptions setSelect(List<String> select)

Set the select property: An OData $select clause.

Parameters:

select - the select value to set.

Returns:

the BatchNodeGetOptions object itself.

setTimeOutInSeconds

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

Applies to