Class BackendReconnectContract


  • public final class BackendReconnectContract
    extends com.azure.core.management.ProxyResource
    Reconnect request parameters.
    • Constructor Detail

      • BackendReconnectContract

        public BackendReconnectContract()
    • Method Detail

      • after

        public Duration after()
        Get the after property: Duration in ISO8601 format after which reconnect will be initiated. Minimum duration of the Reconnect is PT2M.
        Returns:
        the after value.
      • withAfter

        public BackendReconnectContract withAfter​(Duration after)
        Set the after property: Duration in ISO8601 format after which reconnect will be initiated. Minimum duration of the Reconnect is PT2M.
        Parameters:
        after - the after value to set.
        Returns:
        the BackendReconnectContract object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.