Class FailoverPropertiesProperties
java.lang.Object
com.azure.resourcemanager.servicebus.fluent.models.FailoverPropertiesProperties
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
-
FailoverPropertiesProperties
public FailoverPropertiesProperties()
-
-
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 FailoverPropertiesProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-