Package com.azure.compute.batch.models
Class DeallocateBatchNodeOptions
java.lang.Object
com.azure.compute.batch.models.DeallocateBatchNodeOptions
Optional parameters for Deallocate Node operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeallocateBatchNodeOptions class. -
Method Summary
Modifier and TypeMethodDescriptionGet the parameters property: The options to use for deallocating the Compute Node.Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.setParameters
(BatchNodeDeallocateContent parameters) Set the parameters property: The options to use for deallocating the Compute Node.setTimeOutInSeconds
(Integer timeOutInSeconds) Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.
-
Constructor Details
-
DeallocateBatchNodeOptions
public DeallocateBatchNodeOptions()Creates an instance of DeallocateBatchNodeOptions class.
-
-
Method Details
-
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
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 DeallocateBatchNodeOptions object itself.
-
getParameters
Get the parameters property: The options to use for deallocating the Compute Node.- Returns:
- the parameters value.
-
setParameters
Set the parameters property: The options to use for deallocating the Compute Node.- Parameters:
parameters
- the parameters value to set.- Returns:
- the DeallocateBatchNodeOptions object itself.
-