com.amazonaws.services.s3.model

## クラス BucketLifecycleConfiguration

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

-     public class BucketLifecycleConfiguration
      extends java.lang.Object

  Container for bucket lifecycle configuration operations.

- - ### ネストされたクラスの概要

    ネストされたクラス
    修飾子とタイプ | クラスと説明
    --- | ---
    `static class` | `BucketLifecycleConfiguration.Rule`
    `static class` | `BucketLifecycleConfiguration.Transition` The transition attribute of the rule describing how this object will move between different storage classes in Amazon S3.

  - ### フィールドの概要

    フィールド
    修飾子とタイプ | フィールドと説明
    --- | ---
    `static java.lang.String` | `DISABLED` Constant for a disabled rule.
    `static java.lang.String` | `ENABLED` Constant for an enabled rule.

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

    コンストラクタ
    コンストラクタと説明
    `BucketLifecycleConfiguration()`
    `BucketLifecycleConfiguration(java.util.List<BucketLifecycleConfiguration.Rule> rules)` Constructs a new `BucketLifecycleConfiguration` object with the rules given.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.util.List<BucketLifecycleConfiguration.Rule>` | `getRules()` Returns the list of rules that comprise this configuration.
    `void` | `setRules(java.util.List<BucketLifecycleConfiguration.Rule> rules)` Sets the rules that comprise this configuration.
    `BucketLifecycleConfiguration` | `withRules(BucketLifecycleConfiguration.Rule... rules)` Convenience array style method for `withRules(List)`
    `BucketLifecycleConfiguration` | `withRules(java.util.List<BucketLifecycleConfiguration.Rule> rules)` Sets the rules that comprise this configuration and returns a reference to this object for easy method chaining.

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

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

- - ### フィールドの詳細

    - #### ENABLED

          public static final java.lang.String ENABLED

      Constant for an enabled rule.
      関連項目:
        `BucketLifecycleConfiguration.Rule.setStatus(String)`, 定数フィールド値

    - #### DISABLED

          public static final java.lang.String DISABLED

      Constant for a disabled rule.
      関連項目:
        `BucketLifecycleConfiguration.Rule.setStatus(String)`, 定数フィールド値

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

    - #### BucketLifecycleConfiguration

          public BucketLifecycleConfiguration(java.util.List<BucketLifecycleConfiguration.Rule> rules)

      Constructs a new `BucketLifecycleConfiguration` object with the rules given.
      パラメータ:
        `rules` -

    - #### BucketLifecycleConfiguration

          public BucketLifecycleConfiguration()

  - ### メソッドの詳細

    - #### getRules

          public java.util.List<BucketLifecycleConfiguration.Rule> getRules()

      Returns the list of rules that comprise this configuration.

    - #### setRules

          public void setRules(java.util.List<BucketLifecycleConfiguration.Rule> rules)

      Sets the rules that comprise this configuration.

    - #### withRules

          public BucketLifecycleConfiguration withRules(java.util.List<BucketLifecycleConfiguration.Rule> rules)

      Sets the rules that comprise this configuration and returns a reference to this object for easy method chaining.

    - #### withRules

          public BucketLifecycleConfiguration withRules(BucketLifecycleConfiguration.Rule... rules)

      Convenience array style method for `withRules(List)`