Class FailoverInput
java.lang.Object
com.azure.resourcemanager.iothub.models.FailoverInput
Use to provide failover region when requesting manual Failover for a hub.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the failoverRegion property: Region the hub will be failed over to.void
validate()
Validates the instance.withFailoverRegion
(String failoverRegion) Set the failoverRegion property: Region the hub will be failed over to.
-
Constructor Details
-
FailoverInput
public FailoverInput()
-
-
Method Details
-
failoverRegion
Get the failoverRegion property: Region the hub will be failed over to.- Returns:
- the failoverRegion value.
-
withFailoverRegion
Set the failoverRegion property: Region the hub will be failed over to.- Parameters:
failoverRegion
- the failoverRegion value to set.- Returns:
- the FailoverInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-