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 Details

    • FailoverInput

      public FailoverInput()
  • Method Details

    • 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.