com.aliyun.oss.model

## 类 RoutingRule.Condition

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

- 封闭类:
    RoutingRule

      public static class RoutingRule.Condition
      extends Object

  Container for describing a condition that must be met for the specified redirect to be applied. If the routing rule does not include a condition, the rule is applied to all requests.

- - ### 构造器概要

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

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `ensureConditionValid()`
    `Integer` | `getHttpErrorCodeReturnedEquals()`
    `String` | `getKeyPrefixEquals()`
    `void` | `setHttpErrorCodeReturnedEquals(Integer httpErrorCodeReturnedEquals)`
    `void` | `setKeyPrefixEquals(String keyPrefixEquals)`

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

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

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

    - #### RoutingRule.Condition

          public RoutingRule.Condition()

  - ### 方法详细资料

    - #### getKeyPrefixEquals

          public String getKeyPrefixEquals()

    - #### setKeyPrefixEquals

          public void setKeyPrefixEquals(String keyPrefixEquals)

    - #### getHttpErrorCodeReturnedEquals

          public Integer getHttpErrorCodeReturnedEquals()

    - #### setHttpErrorCodeReturnedEquals

          public void setHttpErrorCodeReturnedEquals(Integer httpErrorCodeReturnedEquals)

    - #### ensureConditionValid

          public void ensureConditionValid()

Copyright © 2020. All Rights Reserved.