com.amazonaws.services.ec2.model

## クラス CreateVpnGatewayRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.ec2.model.CreateVpnGatewayRequest

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

      public class CreateVpnGatewayRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateVpnGateway operation`.

  Creates a new VPN gateway. A VPN gateway is the VPC-side endpoint for your VPN connection. You can create a VPN gateway before creating the VPC itself.

  関連項目:
    `AmazonEC2.createVpnGateway(CreateVpnGatewayRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `CreateVpnGatewayRequest()` Default constructor for a new CreateVpnGatewayRequest object.
    `CreateVpnGatewayRequest(java.lang.String type)` Constructs a new CreateVpnGatewayRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAvailabilityZone()` The Availability Zone in which to create the VPN gateway.
    `java.lang.String` | `getType()` The type of VPN connection this VPN gateway supports.
    `int` | `hashCode()`
    `void` | `setAvailabilityZone(java.lang.String availabilityZone)` The Availability Zone in which to create the VPN gateway.
    `void` | `setType(java.lang.String type)` The type of VPN connection this VPN gateway supports.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateVpnGatewayRequest` | `withAvailabilityZone(java.lang.String availabilityZone)` The Availability Zone in which to create the VPN gateway.
    `CreateVpnGatewayRequest` | `withType(java.lang.String type)` The type of VPN connection this VPN gateway supports.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateVpnGatewayRequest

          public CreateVpnGatewayRequest()

      Default constructor for a new CreateVpnGatewayRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### CreateVpnGatewayRequest

          public CreateVpnGatewayRequest(java.lang.String type)

      Constructs a new CreateVpnGatewayRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `type` - The type of VPN connection this VPN gateway supports.

  - ### メソッドの詳細

    - #### getType

          public java.lang.String getType()

      The type of VPN connection this VPN gateway supports.
      戻り値:
        The type of VPN connection this VPN gateway supports.

    - #### setType

          public void setType(java.lang.String type)

      The type of VPN connection this VPN gateway supports.
      パラメータ:
        `type` - The type of VPN connection this VPN gateway supports.

    - #### withType

          public CreateVpnGatewayRequest withType(java.lang.String type)

      The type of VPN connection this VPN gateway supports.

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

      パラメータ:
        `type` - The type of VPN connection this VPN gateway supports.

    - #### getAvailabilityZone

          public java.lang.String getAvailabilityZone()

      The Availability Zone in which to create the VPN gateway.
      戻り値:
        The Availability Zone in which to create the VPN gateway.

    - #### setAvailabilityZone

          public void setAvailabilityZone(java.lang.String availabilityZone)

      The Availability Zone in which to create the VPN gateway.
      パラメータ:
        `availabilityZone` - The Availability Zone in which to create the VPN gateway.

    - #### withAvailabilityZone

          public CreateVpnGatewayRequest withAvailabilityZone(java.lang.String availabilityZone)

      The Availability Zone in which to create the VPN gateway.

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

      パラメータ:
        `availabilityZone` - The Availability Zone in which to create the VPN gateway.

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