com.amazonaws.services.ec2.model

## クラス DescribeSubnetsResult

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

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

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

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<Subnet>` | `getSubnets()` Contains a set of one or more Subnet instances.
    `int` | `hashCode()`
    `void` | `setSubnets(java.util.Collection<Subnet> subnets)` Contains a set of one or more Subnet instances.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeSubnetsResult` | `withSubnets(java.util.Collection<Subnet> subnets)` Contains a set of one or more Subnet instances.
    `DescribeSubnetsResult` | `withSubnets(Subnet... subnets)` Contains a set of one or more Subnet instances.

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

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

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

    - #### DescribeSubnetsResult

          public DescribeSubnetsResult()

  - ### メソッドの詳細

    - #### getSubnets

          public java.util.List<Subnet> getSubnets()

      Contains a set of one or more Subnet instances.
      戻り値:
        Contains a set of one or more Subnet instances.

    - #### setSubnets

          public void setSubnets(java.util.Collection<Subnet> subnets)

      Contains a set of one or more Subnet instances.
      パラメータ:
        `subnets` - Contains a set of one or more Subnet instances.

    - #### withSubnets

          public DescribeSubnetsResult withSubnets(Subnet... subnets)

      Contains a set of one or more Subnet instances.

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

      パラメータ:
        `subnets` - Contains a set of one or more Subnet instances.

    - #### withSubnets

          public DescribeSubnetsResult withSubnets(java.util.Collection<Subnet> subnets)

      Contains a set of one or more Subnet instances.

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

      パラメータ:
        `subnets` - Contains a set of one or more Subnet instances.

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