Class StopRequest

java.lang.Object
com.azure.resourcemanager.workloads.models.StopRequest

public final class StopRequest extends Object
Stop SAP instance(s) request body.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of StopRequest class.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    void
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StopRequest

      public StopRequest()
      Creates an instance of StopRequest class.
  • Method Details

    • 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:
      the softStopTimeoutSeconds value.
    • 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:
      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.