BatchPoolPropertiesReplaceOptions Class

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

public final class BatchPoolPropertiesReplaceOptions

Optional parameters for Replace Pool Properties operation.

Constructor Summary

Constructor Description
BatchPoolPropertiesReplaceOptions()

Creates an instance of BatchPoolPropertiesReplaceOptions class.

Method Summary

Modifier and Type Method and Description
Duration getTimeOutInSeconds()

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

BatchPoolPropertiesReplaceOptions 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

BatchPoolPropertiesReplaceOptions

public BatchPoolPropertiesReplaceOptions()

Creates an instance of BatchPoolPropertiesReplaceOptions class.

Method Details

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.

setTimeOutInSeconds

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

Applies to