com.amazonaws.services.ec2.model

## クラス CustomerGateway

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

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

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

  The CustomerGateway data type.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getBgpAsn()` Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
    `java.lang.String` | `getCustomerGatewayId()` Specifies the ID of the customer gateway.
    `java.lang.String` | `getIpAddress()` Contains the Internet-routable IP address of the customer gateway's outside interface.
    `java.lang.String` | `getState()` Describes the current state of the customer gateway.
    `java.util.List<Tag>` | `getTags()` A list of tags for the CustomerGateway.
    `java.lang.String` | `getType()` Specifies the type of VPN connection the customer gateway supports.
    `int` | `hashCode()`
    `void` | `setBgpAsn(java.lang.String bgpAsn)` Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
    `void` | `setCustomerGatewayId(java.lang.String customerGatewayId)` Specifies the ID of the customer gateway.
    `void` | `setIpAddress(java.lang.String ipAddress)` Contains the Internet-routable IP address of the customer gateway's outside interface.
    `void` | `setState(java.lang.String state)` Describes the current state of the customer gateway.
    `void` | `setTags(java.util.Collection<Tag> tags)` A list of tags for the CustomerGateway.
    `void` | `setType(java.lang.String type)` Specifies the type of VPN connection the customer gateway supports.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CustomerGateway` | `withBgpAsn(java.lang.String bgpAsn)` Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
    `CustomerGateway` | `withCustomerGatewayId(java.lang.String customerGatewayId)` Specifies the ID of the customer gateway.
    `CustomerGateway` | `withIpAddress(java.lang.String ipAddress)` Contains the Internet-routable IP address of the customer gateway's outside interface.
    `CustomerGateway` | `withState(java.lang.String state)` Describes the current state of the customer gateway.
    `CustomerGateway` | `withTags(java.util.Collection<Tag> tags)` A list of tags for the CustomerGateway.
    `CustomerGateway` | `withTags(Tag... tags)` A list of tags for the CustomerGateway.
    `CustomerGateway` | `withType(java.lang.String type)` Specifies the type of VPN connection the customer gateway supports.

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

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

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

    - #### CustomerGateway

          public CustomerGateway()

  - ### メソッドの詳細

    - #### getCustomerGatewayId

          public java.lang.String getCustomerGatewayId()

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

    - #### setCustomerGatewayId

          public void setCustomerGatewayId(java.lang.String customerGatewayId)

      Specifies the ID of the customer gateway.
      パラメータ:
        `customerGatewayId` - Specifies the ID of the customer gateway.

    - #### withCustomerGatewayId

          public CustomerGateway withCustomerGatewayId(java.lang.String customerGatewayId)

      Specifies the ID of the customer gateway.

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

      パラメータ:
        `customerGatewayId` - Specifies the ID of the customer gateway.

    - #### getState

          public java.lang.String getState()

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

    - #### setState

          public void setState(java.lang.String state)

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

    - #### withState

          public CustomerGateway withState(java.lang.String state)

      Describes the current state of the customer 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 customer gateway. Valid values are `pending`, `available`, `deleting`, and `deleted`.

    - #### getType

          public java.lang.String getType()

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

    - #### setType

          public void setType(java.lang.String type)

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

    - #### withType

          public CustomerGateway withType(java.lang.String type)

      Specifies the type of VPN connection the customer gateway supports.

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

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

    - #### getIpAddress

          public java.lang.String getIpAddress()

      Contains the Internet-routable IP address of the customer gateway's outside interface.
      戻り値:
        Contains the Internet-routable IP address of the customer gateway's outside interface.

    - #### setIpAddress

          public void setIpAddress(java.lang.String ipAddress)

      Contains the Internet-routable IP address of the customer gateway's outside interface.
      パラメータ:
        `ipAddress` - Contains the Internet-routable IP address of the customer gateway's outside interface.

    - #### withIpAddress

          public CustomerGateway withIpAddress(java.lang.String ipAddress)

      Contains the Internet-routable IP address of the customer gateway's outside interface.

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

      パラメータ:
        `ipAddress` - Contains the Internet-routable IP address of the customer gateway's outside interface.

    - #### getBgpAsn

          public java.lang.String getBgpAsn()

      Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
      戻り値:
        Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

    - #### setBgpAsn

          public void setBgpAsn(java.lang.String bgpAsn)

      Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
      パラメータ:
        `bgpAsn` - Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

    - #### withBgpAsn

          public CustomerGateway withBgpAsn(java.lang.String bgpAsn)

      Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

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

      パラメータ:
        `bgpAsn` - Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

    - #### getTags

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

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

    - #### setTags

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

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

    - #### withTags

          public CustomerGateway withTags(Tag... tags)

      A list of tags for the CustomerGateway.

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

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

    - #### withTags

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

      A list of tags for the CustomerGateway.

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

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

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