Class StopRequest
java.lang.Object
com.azure.resourcemanager.workloads.models.StopRequest
Stop SAP instance(s) request body.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the softStopTimeoutSeconds property: This parameter defines how long (in seconds) the soft shutdown waits until the RFC/HTTP clients no longer consider the server for calls with load balancing.void
validate()
Validates the instance.withSoftStopTimeoutSeconds
(Long softStopTimeoutSeconds) Set the softStopTimeoutSeconds property: This parameter defines how long (in seconds) the soft shutdown waits until the RFC/HTTP clients no longer consider the server for calls with load balancing.
-
Constructor Details
-
StopRequest
public StopRequest()Creates an instance of StopRequest class.
-
-
Method Details
-
softStopTimeoutSeconds
Get the softStopTimeoutSeconds property: This parameter defines how long (in seconds) the soft shutdown waits until the RFC/HTTP clients no longer consider the server for calls with load balancing. Value 0 means that the kernel does not wait, but goes directly into the next shutdown state, i.e. hard stop.- Returns:
- the softStopTimeoutSeconds value.
-
withSoftStopTimeoutSeconds
Set the softStopTimeoutSeconds property: This parameter defines how long (in seconds) the soft shutdown waits until the RFC/HTTP clients no longer consider the server for calls with load balancing. Value 0 means that the kernel does not wait, but goes directly into the next shutdown state, i.e. hard stop.- Parameters:
softStopTimeoutSeconds
- the softStopTimeoutSeconds value to set.- Returns:
- the StopRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-