com.amazonaws.services.s3.model

## クラス BucketCrossOriginConfiguration

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

-     public class BucketCrossOriginConfiguration
      extends java.lang.Object

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.util.List<CORSRule>` | `getRules()` Returns the list of rules that comprise this configuration.
    `void` | `setRules(java.util.List<CORSRule> rules)` Sets the rules that comprise this configuration.
    `BucketCrossOriginConfiguration` | `withRules(CORSRule... rules)` Convenience array style method for `withRules(List)`
    `BucketCrossOriginConfiguration` | `withRules(java.util.List<CORSRule> 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`

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

    - #### BucketCrossOriginConfiguration

          public BucketCrossOriginConfiguration(java.util.List<CORSRule> rules)

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

    - #### BucketCrossOriginConfiguration

          public BucketCrossOriginConfiguration()

  - ### メソッドの詳細

    - #### getRules

          public java.util.List<CORSRule> getRules()

      Returns the list of rules that comprise this configuration.

    - #### setRules

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

      Sets the rules that comprise this configuration.

    - #### withRules

          public BucketCrossOriginConfiguration withRules(java.util.List<CORSRule> rules)

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

    - #### withRules

          public BucketCrossOriginConfiguration withRules(CORSRule... rules)

      Convenience array style method for `withRules(List)`