com.amazonaws.services.ec2.model

## クラス Vpc

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

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

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

  The Vpc data type.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCidrBlock()` Specifies the CIDR block the VPC covers.
    `java.lang.String` | `getDhcpOptionsId()` Specifies the ID of the set of DHCP options associated with the VPC.
    `java.lang.String` | `getInstanceTenancy()` The allowed tenancy of instances launched into the VPC.
    `java.lang.Boolean` | `getIsDefault()`
    `java.lang.String` | `getState()` Describes the current state of the VPC.
    `java.util.List<Tag>` | `getTags()` A list of tags for the VPC.
    `java.lang.String` | `getVpcId()` Specifies the ID of the VPC.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isDefault()`
    `void` | `setCidrBlock(java.lang.String cidrBlock)` Specifies the CIDR block the VPC covers.
    `void` | `setDhcpOptionsId(java.lang.String dhcpOptionsId)` Specifies the ID of the set of DHCP options associated with the VPC.
    `void` | `setInstanceTenancy(java.lang.String instanceTenancy)` The allowed tenancy of instances launched into the VPC.
    `void` | `setIsDefault(java.lang.Boolean isDefault)`
    `void` | `setState(java.lang.String state)` Describes the current state of the VPC.
    `void` | `setTags(java.util.Collection<Tag> tags)` A list of tags for the VPC.
    `void` | `setVpcId(java.lang.String vpcId)` Specifies the ID of the VPC.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Vpc` | `withCidrBlock(java.lang.String cidrBlock)` Specifies the CIDR block the VPC covers.
    `Vpc` | `withDhcpOptionsId(java.lang.String dhcpOptionsId)` Specifies the ID of the set of DHCP options associated with the VPC.
    `Vpc` | `withInstanceTenancy(java.lang.String instanceTenancy)` The allowed tenancy of instances launched into the VPC.
    `Vpc` | `withIsDefault(java.lang.Boolean isDefault)` Returns a reference to this object so that method calls can be chained together.
    `Vpc` | `withState(java.lang.String state)` Describes the current state of the VPC.
    `Vpc` | `withTags(java.util.Collection<Tag> tags)` A list of tags for the VPC.
    `Vpc` | `withTags(Tag... tags)` A list of tags for the VPC.
    `Vpc` | `withVpcId(java.lang.String vpcId)` Specifies the ID of the VPC.

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

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

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

    - #### Vpc

          public Vpc()

  - ### メソッドの詳細

    - #### getVpcId

          public java.lang.String getVpcId()

      Specifies the ID of the VPC.
      戻り値:
        Specifies the ID of the VPC.

    - #### setVpcId

          public void setVpcId(java.lang.String vpcId)

      Specifies the ID of the VPC.
      パラメータ:
        `vpcId` - Specifies the ID of the VPC.

    - #### withVpcId

          public Vpc withVpcId(java.lang.String vpcId)

      Specifies the ID of the VPC.

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

      パラメータ:
        `vpcId` - Specifies the ID of the VPC.

    - #### getState

          public java.lang.String getState()

      Describes the current state of the VPC. The state of the subnet may be either `pending` or `available`.
      戻り値:
        Describes the current state of the VPC. The state of the subnet may be either `pending` or `available`.

    - #### setState

          public void setState(java.lang.String state)

      Describes the current state of the VPC. The state of the subnet may be either `pending` or `available`.
      パラメータ:
        `state` - Describes the current state of the VPC. The state of the subnet may be either `pending` or `available`.

    - #### withState

          public Vpc withState(java.lang.String state)

      Describes the current state of the VPC. The state of the subnet may be either `pending` or `available`.

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

      パラメータ:
        `state` - Describes the current state of the VPC. The state of the subnet may be either `pending` or `available`.

    - #### getCidrBlock

          public java.lang.String getCidrBlock()

      Specifies the CIDR block the VPC covers.
      戻り値:
        Specifies the CIDR block the VPC covers.

    - #### setCidrBlock

          public void setCidrBlock(java.lang.String cidrBlock)

      Specifies the CIDR block the VPC covers.
      パラメータ:
        `cidrBlock` - Specifies the CIDR block the VPC covers.

    - #### withCidrBlock

          public Vpc withCidrBlock(java.lang.String cidrBlock)

      Specifies the CIDR block the VPC covers.

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

      パラメータ:
        `cidrBlock` - Specifies the CIDR block the VPC covers.

    - #### getDhcpOptionsId

          public java.lang.String getDhcpOptionsId()

      Specifies the ID of the set of DHCP options associated with the VPC. Contains a value of `default` if the default options are associated with the VPC.
      戻り値:
        Specifies the ID of the set of DHCP options associated with the VPC. Contains a value of `default` if the default options are associated with the VPC.

    - #### setDhcpOptionsId

          public void setDhcpOptionsId(java.lang.String dhcpOptionsId)

      Specifies the ID of the set of DHCP options associated with the VPC. Contains a value of `default` if the default options are associated with the VPC.
      パラメータ:
        `dhcpOptionsId` - Specifies the ID of the set of DHCP options associated with the VPC. Contains a value of `default` if the default options are associated with the VPC.

    - #### withDhcpOptionsId

          public Vpc withDhcpOptionsId(java.lang.String dhcpOptionsId)

      Specifies the ID of the set of DHCP options associated with the VPC. Contains a value of `default` if the default options are associated with the VPC.

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

      パラメータ:
        `dhcpOptionsId` - Specifies the ID of the set of DHCP options associated with the VPC. Contains a value of `default` if the default options are associated with the VPC.

    - #### getTags

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

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

    - #### setTags

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

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

    - #### withTags

          public Vpc withTags(Tag... tags)

      A list of tags for the VPC.

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

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

    - #### withTags

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

      A list of tags for the VPC.

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

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

    - #### getInstanceTenancy

          public java.lang.String getInstanceTenancy()

      The allowed tenancy of instances launched into the VPC.
      戻り値:
        The allowed tenancy of instances launched into the VPC.

    - #### setInstanceTenancy

          public void setInstanceTenancy(java.lang.String instanceTenancy)

      The allowed tenancy of instances launched into the VPC.
      パラメータ:
        `instanceTenancy` - The allowed tenancy of instances launched into the VPC.

    - #### withInstanceTenancy

          public Vpc withInstanceTenancy(java.lang.String instanceTenancy)

      The allowed tenancy of instances launched into the VPC.

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

      パラメータ:
        `instanceTenancy` - The allowed tenancy of instances launched into the VPC.

    - #### isDefault

          public java.lang.Boolean isDefault()

      戻り値:

    - #### setIsDefault

          public void setIsDefault(java.lang.Boolean isDefault)

      パラメータ:
        `isDefault` -

    - #### withIsDefault

          public Vpc withIsDefault(java.lang.Boolean isDefault)

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

      パラメータ:
        `isDefault` -

    - #### getIsDefault

          public java.lang.Boolean getIsDefault()

      戻り値:

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