Class FailoverPropertiesProperties

java.lang.Object
com.azure.resourcemanager.servicebus.fluent.models.FailoverPropertiesProperties

public final class FailoverPropertiesProperties extends Object
Safe failover is to indicate the service should wait for pending replication to finish before switching to the secondary.
  • Constructor Details

    • FailoverPropertiesProperties

      public FailoverPropertiesProperties()
  • Method Details

    • isSafeFailover

      public Boolean isSafeFailover()
      Get the isSafeFailover property: Safe failover is to indicate the service should wait for pending replication to finish before switching to the secondary.
      Returns:
      the isSafeFailover value.
    • withIsSafeFailover

      public FailoverPropertiesProperties withIsSafeFailover(Boolean isSafeFailover)
      Set the isSafeFailover property: Safe failover is to indicate the service should wait for pending replication to finish before switching to the secondary.
      Parameters:
      isSafeFailover - the isSafeFailover value to set.
      Returns:
      the FailoverPropertiesProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.