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