com.amazonaws.services.ec2.model

## クラス TagDescription

- java.lang.Object
- - com.amazonaws.services.ec2.model.TagDescription

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

      public class TagDescription
      extends java.lang.Object
      implements java.io.Serializable

  Provides information about an Amazon EC2 resource Tag.

  関連項目:
    直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getKey()` The tag's key.
    `java.lang.String` | `getResourceId()` The resource ID for the tag.
    `java.lang.String` | `getResourceType()` The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).
    `java.lang.String` | `getValue()` The tag's value.
    `int` | `hashCode()`
    `void` | `setKey(java.lang.String key)` The tag's key.
    `void` | `setResourceId(java.lang.String resourceId)` The resource ID for the tag.
    `void` | `setResourceType(ResourceType resourceType)` The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).
    `void` | `setResourceType(java.lang.String resourceType)` The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).
    `void` | `setValue(java.lang.String value)` The tag's value.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `TagDescription` | `withKey(java.lang.String key)` The tag's key.
    `TagDescription` | `withResourceId(java.lang.String resourceId)` The resource ID for the tag.
    `TagDescription` | `withResourceType(ResourceType resourceType)` The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).
    `TagDescription` | `withResourceType(java.lang.String resourceType)` The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).
    `TagDescription` | `withValue(java.lang.String value)` The tag's value.

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

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

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

    - #### TagDescription

          public TagDescription()

  - ### メソッドの詳細

    - #### getResourceId

          public java.lang.String getResourceId()

      The resource ID for the tag.
      戻り値:
        The resource ID for the tag.

    - #### setResourceId

          public void setResourceId(java.lang.String resourceId)

      The resource ID for the tag.
      パラメータ:
        `resourceId` - The resource ID for the tag.

    - #### withResourceId

          public TagDescription withResourceId(java.lang.String resourceId)

      The resource ID for the tag.

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

      パラメータ:
        `resourceId` - The resource ID for the tag.

    - #### getResourceType

          public java.lang.String getResourceType()

      The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).

      Constraints:
      Allowed Values: customer-gateway, dhcp-options, image, instance, snapshot, spot-instances-request, subnet, volume, vpc, vpn-connection, vpn-gateway

      戻り値:
        The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).
      関連項目:
        `ResourceType`

    - #### setResourceType

          public void setResourceType(java.lang.String resourceType)

      The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).

      Constraints:
      Allowed Values: customer-gateway, dhcp-options, image, instance, snapshot, spot-instances-request, subnet, volume, vpc, vpn-connection, vpn-gateway

      パラメータ:
        `resourceType` - The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).
      関連項目:
        `ResourceType`

    - #### withResourceType

          public TagDescription withResourceType(java.lang.String resourceType)

      The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).

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

      Constraints:
      Allowed Values: customer-gateway, dhcp-options, image, instance, snapshot, spot-instances-request, subnet, volume, vpc, vpn-connection, vpn-gateway

      パラメータ:
        `resourceType` - The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).
      関連項目:
        `ResourceType`

    - #### setResourceType

          public void setResourceType(ResourceType resourceType)

      The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).

      Constraints:
      Allowed Values: customer-gateway, dhcp-options, image, instance, snapshot, spot-instances-request, subnet, volume, vpc, vpn-connection, vpn-gateway

      パラメータ:
        `resourceType` - The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).
      関連項目:
        `ResourceType`

    - #### withResourceType

          public TagDescription withResourceType(ResourceType resourceType)

      The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).

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

      Constraints:
      Allowed Values: customer-gateway, dhcp-options, image, instance, snapshot, spot-instances-request, subnet, volume, vpc, vpn-connection, vpn-gateway

      パラメータ:
        `resourceType` - The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc).
      関連項目:
        `ResourceType`

    - #### getKey

          public java.lang.String getKey()

      The tag's key.
      戻り値:
        The tag's key.

    - #### setKey

          public void setKey(java.lang.String key)

      The tag's key.
      パラメータ:
        `key` - The tag's key.

    - #### withKey

          public TagDescription withKey(java.lang.String key)

      The tag's key.

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

      パラメータ:
        `key` - The tag's key.

    - #### getValue

          public java.lang.String getValue()

      The tag's value.
      戻り値:
        The tag's value.

    - #### setValue

          public void setValue(java.lang.String value)

      The tag's value.
      パラメータ:
        `value` - The tag's value.

    - #### withValue

          public TagDescription withValue(java.lang.String value)

      The tag's value.

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

      パラメータ:
        `value` - The tag's value.

    - #### 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`