com.amazonaws.services.s3.model

## クラス RoutingRule

- java.lang.Object
- - com.amazonaws.services.s3.model.RoutingRule

-     public class RoutingRule
      extends java.lang.Object

  Container for one routing rule that identifies a condition and a redirect that applies when the condition is met.

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `RoutingRule()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `RoutingRuleCondition` | `getCondition()` Return the condition that must be met for the specified redirect to apply.
    `RedirectRule` | `getRedirect()` Return the redirect information.
    `void` | `setCondition(RoutingRuleCondition condition)` Set the condition that must be met for the specified redirect to apply.
    `void` | `setRedirect(RedirectRule redirect)` Set the redirect information.
    `RoutingRule` | `withCondition(RoutingRuleCondition condition)` Set the condition that must be met for the specified redirect to apply and returns a reference to this object(RoutingRule) for method chaining.
    `RoutingRule` | `withRedirect(RedirectRule redirect)` Set the redirect information and returns a reference to this object(RoutingRule) for method chaining.

    - ### クラスから継承されたメソッド java.lang.Object

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

- - ### コンストラクタの詳細

    - #### RoutingRule

          public RoutingRule()

  - ### メソッドの詳細

    - #### setCondition

          public void setCondition(RoutingRuleCondition condition)

      Set the condition that must be met for the specified redirect to apply.

    - #### getCondition

          public RoutingRuleCondition getCondition()

      Return the condition that must be met for the specified redirect to apply.

    - #### withCondition

          public RoutingRule withCondition(RoutingRuleCondition condition)

      Set the condition that must be met for the specified redirect to apply and returns a reference to this object(RoutingRule) for method chaining.

    - #### setRedirect

          public void setRedirect(RedirectRule redirect)

      Set the redirect information.

    - #### getRedirect

          public RedirectRule getRedirect()

      Return the redirect information.

    - #### withRedirect

          public RoutingRule withRedirect(RedirectRule redirect)

      Set the redirect information and returns a reference to this object(RoutingRule) for method chaining.