com.amazonaws.services.s3.model

## クラス BucketTaggingConfiguration

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

-     public class BucketTaggingConfiguration
      extends java.lang.Object

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

    コンストラクタ
    コンストラクタと説明
    `BucketTaggingConfiguration()` Creates a new bucket tagging configuration.
    `BucketTaggingConfiguration(java.util.Collection<TagSet> tagSets)` Creates a new bucket Tagging configuration containing the specified `TopicConfigurations`.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.util.List<TagSet>` | `getAllTagSets()` Gets the list of `TagSet` objects contained in this object.
    `TagSet` | `getTagSet()` Gets the first `TagSet` object contained in this object.
    `TagSet` | `getTagSetAtIndex(int index)` Gets the `TagSet` object at the specified index contained in this object.
    `void` | `setTagSets(java.util.Collection<TagSet> tagSets)` Sets the `TagSet`.
    `java.lang.String` | `toString()`
    `BucketTaggingConfiguration` | `withTagSets(TagSet... tagSets)` Sets the `TagSet` `TagSets` and returns this object, enabling additional method calls to be chained together.

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

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

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

    - #### BucketTaggingConfiguration

          public BucketTaggingConfiguration()

      Creates a new bucket tagging configuration. By default, the newly created configuration is empty.

      Passing the new configuration directly to `AmazonS3.setBucketTaggingConfiguration(String,BucketTaggingConfiguration)` will remove any existing bucket tagging configuration.

      関連項目:
        `BucketTaggingConfiguration(Collection)`

    - #### BucketTaggingConfiguration

          public BucketTaggingConfiguration(java.util.Collection<TagSet> tagSets)

      Creates a new bucket Tagging configuration containing the specified `TopicConfigurations`.

      Passing the new configuration directly to `AmazonS3.setBucketTaggingConfiguration(String,BucketTaggingConfiguration)` will set the bucket's Tagging configuration and overwrite any existing configuration.

      関連項目:
        `BucketTaggingConfiguration()`

  - ### メソッドの詳細

    - #### withTagSets

          public BucketTaggingConfiguration withTagSets(TagSet... tagSets)

      Sets the `TagSet` `TagSets` and returns this object, enabling additional method calls to be chained together.

      Calling this method will overwrite any previously set `TagSets` for this object.

      パラメータ:
        `tagSets` - A set of TagSet objects.
      戻り値:
        The updated `BucketTaggingConfiguration` object, enabling additional method calls to be chained together.
      関連項目:
        `setTagSets(Collection)`

    - #### setTagSets

          public void setTagSets(java.util.Collection<TagSet> tagSets)

      Sets the `TagSet`.

      Calling this method will overwrite any previously set `TagSets` for this object.

      パラメータ:
        `tagSets` - A collection of TagSet objects.
      関連項目:
        `BucketTaggingConfiguration#withTopicConfigurations(TopicConfiguration)`

    - #### getAllTagSets

          public java.util.List<TagSet> getAllTagSets()

      Gets the list of `TagSet` objects contained in this object. This method may return an empty list if no `TagSet` objects are present.

      戻り値:
        The list of `TagSet` objects contained in this object. May return an empty list.

    - #### getTagSet

          public TagSet getTagSet()

      Gets the first `TagSet` object contained in this object. This method may return null list if no `TagSet` objects are present.

      戻り値:
        The first `TagSet` object contained in the object

    - #### getTagSetAtIndex

          public TagSet getTagSetAtIndex(int index)

      Gets the `TagSet` object at the specified index contained in this object.

      パラメータ:
        `index` - The index of the `TagSet` object to return
      戻り値:
        The `TagSet` object contained in the object

    - #### toString

          public java.lang.String toString()

      オーバーライド:
        `toString` クラス内 `java.lang.Object`