com.amazonaws.services.autoscaling.model

## クラス Tag

- java.lang.Object
- - com.amazonaws.services.autoscaling.model.Tag

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

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

  The tag applied to an Auto Scaling group.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getKey()` The key of the tag.
    `java.lang.Boolean` | `getPropagateAtLaunch()` Specifies whether the new tag will be applied to instances launched after the tag is created.
    `java.lang.String` | `getResourceId()` The name of the Auto Scaling group.
    `java.lang.String` | `getResourceType()` The kind of resource to which the tag is applied.
    `java.lang.String` | `getValue()` The value of the tag.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isPropagateAtLaunch()` Specifies whether the new tag will be applied to instances launched after the tag is created.
    `void` | `setKey(java.lang.String key)` The key of the tag.
    `void` | `setPropagateAtLaunch(java.lang.Boolean propagateAtLaunch)` Specifies whether the new tag will be applied to instances launched after the tag is created.
    `void` | `setResourceId(java.lang.String resourceId)` The name of the Auto Scaling group.
    `void` | `setResourceType(java.lang.String resourceType)` The kind of resource to which the tag is applied.
    `void` | `setValue(java.lang.String value)` The value of the tag.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Tag` | `withKey(java.lang.String key)` The key of the tag.
    `Tag` | `withPropagateAtLaunch(java.lang.Boolean propagateAtLaunch)` Specifies whether the new tag will be applied to instances launched after the tag is created.
    `Tag` | `withResourceId(java.lang.String resourceId)` The name of the Auto Scaling group.
    `Tag` | `withResourceType(java.lang.String resourceType)` The kind of resource to which the tag is applied.
    `Tag` | `withValue(java.lang.String value)` The value of the tag.

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

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

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

    - #### Tag

          public Tag()

  - ### メソッドの詳細

    - #### getResourceId

          public java.lang.String getResourceId()

      The name of the Auto Scaling group.

      Constraints:
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The name of the Auto Scaling group.

    - #### setResourceId

          public void setResourceId(java.lang.String resourceId)

      The name of the Auto Scaling group.

      Constraints:
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `resourceId` - The name of the Auto Scaling group.

    - #### withResourceId

          public Tag withResourceId(java.lang.String resourceId)

      The name of the Auto Scaling group.

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

      Constraints:
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `resourceId` - The name of the Auto Scaling group.

    - #### getResourceType

          public java.lang.String getResourceType()

      The kind of resource to which the tag is applied. Currently, Auto Scaling supports the `auto-scaling-group` resource type.

      Constraints:
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The kind of resource to which the tag is applied. Currently, Auto Scaling supports the `auto-scaling-group` resource type.

    - #### setResourceType

          public void setResourceType(java.lang.String resourceType)

      The kind of resource to which the tag is applied. Currently, Auto Scaling supports the `auto-scaling-group` resource type.

      Constraints:
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `resourceType` - The kind of resource to which the tag is applied. Currently, Auto Scaling supports the `auto-scaling-group` resource type.

    - #### withResourceType

          public Tag withResourceType(java.lang.String resourceType)

      The kind of resource to which the tag is applied. Currently, Auto Scaling supports the `auto-scaling-group` resource type.

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

      Constraints:
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `resourceType` - The kind of resource to which the tag is applied. Currently, Auto Scaling supports the `auto-scaling-group` resource type.

    - #### getKey

          public java.lang.String getKey()

      The key of the tag.

      Constraints:
      Length: 1 - 128
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The key of the tag.

    - #### setKey

          public void setKey(java.lang.String key)

      The key of the tag.

      Constraints:
      Length: 1 - 128
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `key` - The key of the tag.

    - #### withKey

          public Tag withKey(java.lang.String key)

      The key of the tag.

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

      Constraints:
      Length: 1 - 128
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `key` - The key of the tag.

    - #### getValue

          public java.lang.String getValue()

      The value of the tag.

      Constraints:
      Length: 0 - 256
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The value of the tag.

    - #### setValue

          public void setValue(java.lang.String value)

      The value of the tag.

      Constraints:
      Length: 0 - 256
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `value` - The value of the tag.

    - #### withValue

          public Tag withValue(java.lang.String value)

      The value of the tag.

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

      Constraints:
      Length: 0 - 256
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `value` - The value of the tag.

    - #### isPropagateAtLaunch

          public java.lang.Boolean isPropagateAtLaunch()

      Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.
      戻り値:
        Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.

    - #### setPropagateAtLaunch

          public void setPropagateAtLaunch(java.lang.Boolean propagateAtLaunch)

      Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.
      パラメータ:
        `propagateAtLaunch` - Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.

    - #### withPropagateAtLaunch

          public Tag withPropagateAtLaunch(java.lang.Boolean propagateAtLaunch)

      Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.

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

      パラメータ:
        `propagateAtLaunch` - Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.

    - #### getPropagateAtLaunch

          public java.lang.Boolean getPropagateAtLaunch()

      Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.
      戻り値:
        Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.

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