com.amazonaws.services.rds.model

## クラス AddTagsToResourceRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.rds.model.AddTagsToResourceRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class AddTagsToResourceRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `AddTagsToResource operation`.

  Adds metadata tags to a DB Instance. These tags can also be used with cost allocation reporting to track cost associated with a DB Instance.

  For an overview on tagging DB Instances, see DB Instance Tags.

  関連項目:
    `AmazonRDS.addTagsToResource(AddTagsToResourceRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getResourceName()` The DB Instance the tags will be added to.
    `java.util.List<Tag>` | `getTags()` The tags to be assigned to the DB Instance.
    `int` | `hashCode()`
    `void` | `setResourceName(java.lang.String resourceName)` The DB Instance the tags will be added to.
    `void` | `setTags(java.util.Collection<Tag> tags)` The tags to be assigned to the DB Instance.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `AddTagsToResourceRequest` | `withResourceName(java.lang.String resourceName)` The DB Instance the tags will be added to.
    `AddTagsToResourceRequest` | `withTags(java.util.Collection<Tag> tags)` The tags to be assigned to the DB Instance.
    `AddTagsToResourceRequest` | `withTags(Tag... tags)` The tags to be assigned to the DB Instance.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### AddTagsToResourceRequest

          public AddTagsToResourceRequest()

  - ### メソッドの詳細

    - #### getResourceName

          public java.lang.String getResourceName()

      The DB Instance the tags will be added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
      戻り値:
        The DB Instance the tags will be added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

    - #### setResourceName

          public void setResourceName(java.lang.String resourceName)

      The DB Instance the tags will be added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
      パラメータ:
        `resourceName` - The DB Instance the tags will be added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

    - #### withResourceName

          public AddTagsToResourceRequest withResourceName(java.lang.String resourceName)

      The DB Instance the tags will be added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `resourceName` - The DB Instance the tags will be added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

    - #### getTags

          public java.util.List<Tag> getTags()

      The tags to be assigned to the DB Instance.
      戻り値:
        The tags to be assigned to the DB Instance.

    - #### setTags

          public void setTags(java.util.Collection<Tag> tags)

      The tags to be assigned to the DB Instance.
      パラメータ:
        `tags` - The tags to be assigned to the DB Instance.

    - #### withTags

          public AddTagsToResourceRequest withTags(Tag... tags)

      The tags to be assigned to the DB Instance.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `tags` - The tags to be assigned to the DB Instance.

    - #### withTags

          public AddTagsToResourceRequest withTags(java.util.Collection<Tag> tags)

      The tags to be assigned to the DB Instance.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `tags` - The tags to be assigned to the DB Instance.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

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

    - #### equals

          public boolean equals(java.lang.Object obj)

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