com.aliyun.oss.model

## 类 RoutingRule

- java.lang.Object
- - com.aliyun.oss.model.RoutingRule

-     public class RoutingRule
      extends Object

  A rule that identifies a condition and the redirect that is applied when the condition is met.

- - ### 嵌套类概要

    嵌套类
    限定符和类型 | 类和说明
    --- | ---
    `static class` | `RoutingRule.Condition` Container for describing a condition that must be met for the specified redirect to be applied.
    `static class` | `RoutingRule.Protocol`
    `static class` | `RoutingRule.Redirect` Container element that provides instructions for redirecting the request.
    `static class` | `RoutingRule.RedirectType`

  - ### 构造器概要

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

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `ensureRoutingRuleValid()`
    `RoutingRule.Condition` | `getCondition()`
    `Integer` | `getNumber()`
    `RoutingRule.Redirect` | `getRedirect()`
    `void` | `setCondition(RoutingRule.Condition condition)`
    `void` | `setNumber(Integer number)`
    `void` | `setRedirect(RoutingRule.Redirect redirect)`

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

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

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

    - #### RoutingRule

          public RoutingRule()

  - ### 方法详细资料

    - #### getNumber

          public Integer getNumber()

    - #### setNumber

          public void setNumber(Integer number)

    - #### getCondition

          public RoutingRule.Condition getCondition()

    - #### setCondition

          public void setCondition(RoutingRule.Condition condition)

    - #### getRedirect

          public RoutingRule.Redirect getRedirect()

    - #### setRedirect

          public void setRedirect(RoutingRule.Redirect redirect)

    - #### ensureRoutingRuleValid

          public void ensureRoutingRuleValid()

Copyright © 2020. All Rights Reserved.