Class FailoverInput
- java.lang.Object
-
- com.azure.resourcemanager.iothub.models.FailoverInput
-
public final class FailoverInput extends Object
Use to provide failover region when requesting manual Failover for a hub.
-
-
Constructor Summary
Constructors Constructor Description FailoverInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
failoverRegion()
Get the failoverRegion property: Region the hub will be failed over to.void
validate()
Validates the instance.FailoverInput
withFailoverRegion(String failoverRegion)
Set the failoverRegion property: Region the hub will be failed over to.
-
-
-
Method Detail
-
failoverRegion
public String failoverRegion()
Get the failoverRegion property: Region the hub will be failed over to.- Returns:
- the failoverRegion value.
-
withFailoverRegion
public FailoverInput withFailoverRegion(String failoverRegion)
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.
-
-