Class FailoverProperties

java.lang.Object
com.azure.resourcemanager.servicebus.models.FailoverProperties

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

    • FailoverProperties

      public FailoverProperties()
  • 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 FailoverProperties 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 FailoverProperties object itself.
    • validate

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