com.obs.services.model

## 类 RouteRule

- java.lang.Object
- - com.obs.services.model.RouteRule

-     public class RouteRule
      extends Object

  Route rules for redirection

- - ### 构造器概要

    构造器
    构造器和说明
    `RouteRule()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `RouteRuleCondition` | `getCondition()` Obtain the redirection condition.
    `Redirect` | `getRedirect()` Obtain the redirection configuration.
    `void` | `setCondition(RouteRuleCondition condition)` Set the redirection condition
    `void` | `setRedirect(Redirect redirect)` Configure the redirection.
    `String` | `toString()`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### RouteRule

          public RouteRule()

  - ### 方法详细资料

    - #### getCondition

          public RouteRuleCondition getCondition()

      Obtain the redirection condition.
      返回:
        Redirection condition

    - #### setCondition

          public void setCondition(RouteRuleCondition condition)

      Set the redirection condition
      参数:
        `condition` - Redirection condition

    - #### getRedirect

          public Redirect getRedirect()

      Obtain the redirection configuration.
      返回:
        Redirection configuration

    - #### setRedirect

          public void setRedirect(Redirect redirect)

      Configure the redirection.
      参数:
        `redirect` - Redirection configuration

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `Object`

Copyright © 2021. All rights reserved.