com.amazonaws.services.s3.model

## クラス RoutingRuleCondition

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

-     public class RoutingRuleCondition
      extends java.lang.Object

  A container for describing a condition that must be met for the specified redirect to apply. For example if request is for pages in the /docs folder, redirect to the /documents folder or if request results in HTTP error 4xx, redirect request to another host where you might process the error.

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.String` | `getHttpErrorCodeReturnedEquals()` Return the HTTP error code when the redirect is applied.
    `java.lang.String` | `getKeyPrefixEquals()` Return the object key name prefix when the redirect is applied.
    `void` | `setHttpErrorCodeReturnedEquals(java.lang.String httpErrorCodeReturnedEquals)` Set the HTTP error code when the redirect is applied.
    `void` | `setKeyPrefixEquals(java.lang.String keyPrefixEquals)` Set the object key name prefix when the redirect is applied.
    `RoutingRuleCondition` | `withHttpErrorCodeReturnedEquals(java.lang.String httpErrorCodeReturnedEquals)` Set the HTTP error code when the redirect is applied and returns a reference to this object(RoutingRuleCondition) for method chaining.
    `RoutingRuleCondition` | `withKeyPrefixEquals(java.lang.String keyPrefixEquals)` Set the object key name prefix when the redirect is applied and returns a reference to this object(RoutingRuleCondition) for method chaining.

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

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

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

    - #### RoutingRuleCondition

          public RoutingRuleCondition()

  - ### メソッドの詳細

    - #### setKeyPrefixEquals

          public void setKeyPrefixEquals(java.lang.String keyPrefixEquals)

      Set the object key name prefix when the redirect is applied.

    - #### getKeyPrefixEquals

          public java.lang.String getKeyPrefixEquals()

      Return the object key name prefix when the redirect is applied.

    - #### withKeyPrefixEquals

          public RoutingRuleCondition withKeyPrefixEquals(java.lang.String keyPrefixEquals)

      Set the object key name prefix when the redirect is applied and returns a reference to this object(RoutingRuleCondition) for method chaining.

    - #### setHttpErrorCodeReturnedEquals

          public void setHttpErrorCodeReturnedEquals(java.lang.String httpErrorCodeReturnedEquals)

      Set the HTTP error code when the redirect is applied.

    - #### getHttpErrorCodeReturnedEquals

          public java.lang.String getHttpErrorCodeReturnedEquals()

      Return the HTTP error code when the redirect is applied.

    - #### withHttpErrorCodeReturnedEquals

          public RoutingRuleCondition withHttpErrorCodeReturnedEquals(java.lang.String httpErrorCodeReturnedEquals)

      Set the HTTP error code when the redirect is applied and returns a reference to this object(RoutingRuleCondition) for method chaining.