com.amazonaws.services.ec2.model

## クラス VpnGateway

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

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

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

  The VpnGateway data type.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAvailabilityZone()` Specifies the Availability Zone where the VPN gateway was created.
    `java.lang.String` | `getState()` Describes the current state of the VPN gateway.
    `java.util.List<Tag>` | `getTags()` A list of tags for the VpnGateway.
    `java.lang.String` | `getType()` Specifies the type of VPN connection the VPN gateway supports.
    `java.util.List<VpcAttachment>` | `getVpcAttachments()` Contains information about the VPCs attached to the VPN gateway.
    `java.lang.String` | `getVpnGatewayId()` Specifies the ID of the VPN gateway.
    `int` | `hashCode()`
    `void` | `setAvailabilityZone(java.lang.String availabilityZone)` Specifies the Availability Zone where the VPN gateway was created.
    `void` | `setState(java.lang.String state)` Describes the current state of the VPN gateway.
    `void` | `setTags(java.util.Collection<Tag> tags)` A list of tags for the VpnGateway.
    `void` | `setType(java.lang.String type)` Specifies the type of VPN connection the VPN gateway supports.
    `void` | `setVpcAttachments(java.util.Collection<VpcAttachment> vpcAttachments)` Contains information about the VPCs attached to the VPN gateway.
    `void` | `setVpnGatewayId(java.lang.String vpnGatewayId)` Specifies the ID of the VPN gateway.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `VpnGateway` | `withAvailabilityZone(java.lang.String availabilityZone)` Specifies the Availability Zone where the VPN gateway was created.
    `VpnGateway` | `withState(java.lang.String state)` Describes the current state of the VPN gateway.
    `VpnGateway` | `withTags(java.util.Collection<Tag> tags)` A list of tags for the VpnGateway.
    `VpnGateway` | `withTags(Tag... tags)` A list of tags for the VpnGateway.
    `VpnGateway` | `withType(java.lang.String type)` Specifies the type of VPN connection the VPN gateway supports.
    `VpnGateway` | `withVpcAttachments(java.util.Collection<VpcAttachment> vpcAttachments)` Contains information about the VPCs attached to the VPN gateway.
    `VpnGateway` | `withVpcAttachments(VpcAttachment... vpcAttachments)` Contains information about the VPCs attached to the VPN gateway.
    `VpnGateway` | `withVpnGatewayId(java.lang.String vpnGatewayId)` Specifies the ID of the VPN gateway.

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

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

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

    - #### VpnGateway

          public VpnGateway()

  - ### メソッドの詳細

    - #### getVpnGatewayId

          public java.lang.String getVpnGatewayId()

      Specifies the ID of the VPN gateway.
      戻り値:
        Specifies the ID of the VPN gateway.

    - #### setVpnGatewayId

          public void setVpnGatewayId(java.lang.String vpnGatewayId)

      Specifies the ID of the VPN gateway.
      パラメータ:
        `vpnGatewayId` - Specifies the ID of the VPN gateway.

    - #### withVpnGatewayId

          public VpnGateway withVpnGatewayId(java.lang.String vpnGatewayId)

      Specifies the ID of the VPN gateway.

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

      パラメータ:
        `vpnGatewayId` - Specifies the ID of the VPN gateway.

    - #### getState

          public java.lang.String getState()

      Describes the current state of the VPN gateway. Valid values are `pending`, `available`, `deleting`, and `deleted`.
      戻り値:
        Describes the current state of the VPN gateway. Valid values are `pending`, `available`, `deleting`, and `deleted`.

    - #### setState

          public void setState(java.lang.String state)

      Describes the current state of the VPN gateway. Valid values are `pending`, `available`, `deleting`, and `deleted`.
      パラメータ:
        `state` - Describes the current state of the VPN gateway. Valid values are `pending`, `available`, `deleting`, and `deleted`.

    - #### withState

          public VpnGateway withState(java.lang.String state)

      Describes the current state of the VPN gateway. Valid values are `pending`, `available`, `deleting`, and `deleted`.

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

      パラメータ:
        `state` - Describes the current state of the VPN gateway. Valid values are `pending`, `available`, `deleting`, and `deleted`.

    - #### getType

          public java.lang.String getType()

      Specifies the type of VPN connection the VPN gateway supports.
      戻り値:
        Specifies the type of VPN connection the VPN gateway supports.

    - #### setType

          public void setType(java.lang.String type)

      Specifies the type of VPN connection the VPN gateway supports.
      パラメータ:
        `type` - Specifies the type of VPN connection the VPN gateway supports.

    - #### withType

          public VpnGateway withType(java.lang.String type)

      Specifies the type of VPN connection the VPN gateway supports.

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

      パラメータ:
        `type` - Specifies the type of VPN connection the VPN gateway supports.

    - #### getAvailabilityZone

          public java.lang.String getAvailabilityZone()

      Specifies the Availability Zone where the VPN gateway was created.
      戻り値:
        Specifies the Availability Zone where the VPN gateway was created.

    - #### setAvailabilityZone

          public void setAvailabilityZone(java.lang.String availabilityZone)

      Specifies the Availability Zone where the VPN gateway was created.
      パラメータ:
        `availabilityZone` - Specifies the Availability Zone where the VPN gateway was created.

    - #### withAvailabilityZone

          public VpnGateway withAvailabilityZone(java.lang.String availabilityZone)

      Specifies the Availability Zone where the VPN gateway was created.

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

      パラメータ:
        `availabilityZone` - Specifies the Availability Zone where the VPN gateway was created.

    - #### getVpcAttachments

          public java.util.List<VpcAttachment> getVpcAttachments()

      Contains information about the VPCs attached to the VPN gateway.
      戻り値:
        Contains information about the VPCs attached to the VPN gateway.

    - #### setVpcAttachments

          public void setVpcAttachments(java.util.Collection<VpcAttachment> vpcAttachments)

      Contains information about the VPCs attached to the VPN gateway.
      パラメータ:
        `vpcAttachments` - Contains information about the VPCs attached to the VPN gateway.

    - #### withVpcAttachments

          public VpnGateway withVpcAttachments(VpcAttachment... vpcAttachments)

      Contains information about the VPCs attached to the VPN gateway.

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

      パラメータ:
        `vpcAttachments` - Contains information about the VPCs attached to the VPN gateway.

    - #### withVpcAttachments

          public VpnGateway withVpcAttachments(java.util.Collection<VpcAttachment> vpcAttachments)

      Contains information about the VPCs attached to the VPN gateway.

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

      パラメータ:
        `vpcAttachments` - Contains information about the VPCs attached to the VPN gateway.

    - #### getTags

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

      A list of tags for the VpnGateway.
      戻り値:
        A list of tags for the VpnGateway.

    - #### setTags

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

      A list of tags for the VpnGateway.
      パラメータ:
        `tags` - A list of tags for the VpnGateway.

    - #### withTags

          public VpnGateway withTags(Tag... tags)

      A list of tags for the VpnGateway.

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

      パラメータ:
        `tags` - A list of tags for the VpnGateway.

    - #### withTags

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

      A list of tags for the VpnGateway.

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

      パラメータ:
        `tags` - A list of tags for the VpnGateway.

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