com.amazonaws.services.ec2.model

## クラス InternetGateway

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

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

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

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<InternetGatewayAttachment>` | `getAttachments()` Returns the value of the Attachments property for this object.
    `java.lang.String` | `getInternetGatewayId()` Returns the value of the InternetGatewayId property for this object.
    `java.util.List<Tag>` | `getTags()` Returns the value of the Tags property for this object.
    `int` | `hashCode()`
    `void` | `setAttachments(java.util.Collection<InternetGatewayAttachment> attachments)` Sets the value of the Attachments property for this object.
    `void` | `setInternetGatewayId(java.lang.String internetGatewayId)` Sets the value of the InternetGatewayId property for this object.
    `void` | `setTags(java.util.Collection<Tag> tags)` Sets the value of the Tags property for this object.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `InternetGateway` | `withAttachments(java.util.Collection<InternetGatewayAttachment> attachments)` Sets the value of the Attachments property for this object.
    `InternetGateway` | `withAttachments(InternetGatewayAttachment... attachments)` Sets the value of the Attachments property for this object.
    `InternetGateway` | `withInternetGatewayId(java.lang.String internetGatewayId)` Sets the value of the InternetGatewayId property for this object.
    `InternetGateway` | `withTags(java.util.Collection<Tag> tags)` Sets the value of the Tags property for this object.
    `InternetGateway` | `withTags(Tag... tags)` Sets the value of the Tags property for this object.

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

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

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

    - #### InternetGateway

          public InternetGateway()

  - ### メソッドの詳細

    - #### getInternetGatewayId

          public java.lang.String getInternetGatewayId()

      Returns the value of the InternetGatewayId property for this object.
      戻り値:
        The value of the InternetGatewayId property for this object.

    - #### setInternetGatewayId

          public void setInternetGatewayId(java.lang.String internetGatewayId)

      Sets the value of the InternetGatewayId property for this object.
      パラメータ:
        `internetGatewayId` - The new value for the InternetGatewayId property for this object.

    - #### withInternetGatewayId

          public InternetGateway withInternetGatewayId(java.lang.String internetGatewayId)

      Sets the value of the InternetGatewayId property for this object.

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

      パラメータ:
        `internetGatewayId` - The new value for the InternetGatewayId property for this object.

    - #### getAttachments

          public java.util.List<InternetGatewayAttachment> getAttachments()

      Returns the value of the Attachments property for this object.
      戻り値:
        The value of the Attachments property for this object.

    - #### setAttachments

          public void setAttachments(java.util.Collection<InternetGatewayAttachment> attachments)

      Sets the value of the Attachments property for this object.
      パラメータ:
        `attachments` - The new value for the Attachments property for this object.

    - #### withAttachments

          public InternetGateway withAttachments(InternetGatewayAttachment... attachments)

      Sets the value of the Attachments property for this object.

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

      パラメータ:
        `attachments` - The new value for the Attachments property for this object.

    - #### withAttachments

          public InternetGateway withAttachments(java.util.Collection<InternetGatewayAttachment> attachments)

      Sets the value of the Attachments property for this object.

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

      パラメータ:
        `attachments` - The new value for the Attachments property for this object.

    - #### getTags

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

      Returns the value of the Tags property for this object.
      戻り値:
        The value of the Tags property for this object.

    - #### setTags

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

      Sets the value of the Tags property for this object.
      パラメータ:
        `tags` - The new value for the Tags property for this object.

    - #### withTags

          public InternetGateway withTags(Tag... tags)

      Sets the value of the Tags property for this object.

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

      パラメータ:
        `tags` - The new value for the Tags property for this object.

    - #### withTags

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

      Sets the value of the Tags property for this object.

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

      パラメータ:
        `tags` - The new value for the Tags property for this object.

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