Class FailoverInput


  • public final class FailoverInput
    extends Object
    Use to provide failover region when requesting manual Failover for a hub.
    • Constructor Detail

      • FailoverInput

        public FailoverInput()
    • 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.