StopRequest Class
- java.
lang. Object - com.
azure. resourcemanager. workloads. models. StopRequest
- com.
Implements
public final class StopRequest
implements JsonSerializable<StopRequest>
Stop SAP instance(s) request body.
Constructor Summary
| Constructor | Description |
|---|---|
| StopRequest() |
Creates an instance of Stop |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Stop |
fromJson(JsonReader jsonReader)
Reads an instance of Stop |
| Long |
softStopTimeoutSeconds()
Get the soft |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Stop |
withSoftStopTimeoutSeconds(Long softStopTimeoutSeconds)
Set the soft |
Methods inherited from java.lang.Object
Constructor Details
StopRequest
public StopRequest()
Creates an instance of StopRequest class.
Method Details
fromJson
public static StopRequest fromJson(JsonReader jsonReader)
Reads an instance of StopRequest from the JsonReader.
Parameters:
Returns:
Throws:
softStopTimeoutSeconds
public Long 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:
toJson
validate
public void validate()
Validates the instance.
withSoftStopTimeoutSeconds
public StopRequest 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. Value 0 means that the kernel does not wait, but goes directly into the next shutdown state, i.e. hard stop.
Parameters:
Returns: