Class FailoverProperties
java.lang.Object
com.azure.resourcemanager.servicebus.models.FailoverProperties
Safe failover is to indicate the service should wait for pending replication to finish before switching to the
secondary.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the isSafeFailover property: Safe failover is to indicate the service should wait for pending replication to finish before switching to the secondary.voidvalidate()Validates the instance.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.
-
Constructor Details
-
FailoverProperties
public FailoverProperties()
-
-
Method Details
-
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
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.
-