com.amazonaws.services.ec2.model

## クラス IcmpTypeCode

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

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

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

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Integer` | `getCode()` For the ICMP protocol, the ICMP code.
    `java.lang.Integer` | `getType()` For the ICMP protocol, the ICMP type.
    `int` | `hashCode()`
    `void` | `setCode(java.lang.Integer code)` For the ICMP protocol, the ICMP code.
    `void` | `setType(java.lang.Integer type)` For the ICMP protocol, the ICMP type.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `IcmpTypeCode` | `withCode(java.lang.Integer code)` For the ICMP protocol, the ICMP code.
    `IcmpTypeCode` | `withType(java.lang.Integer type)` For the ICMP protocol, the ICMP type.

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

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

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

    - #### IcmpTypeCode

          public IcmpTypeCode()

  - ### メソッドの詳細

    - #### getType

          public java.lang.Integer getType()

      For the ICMP protocol, the ICMP type. A value of `-1` is a wildcard meaning all types. Required if specifying `icmp` for the protocol.
      戻り値:
        For the ICMP protocol, the ICMP type. A value of `-1` is a wildcard meaning all types. Required if specifying `icmp` for the protocol.

    - #### setType

          public void setType(java.lang.Integer type)

      For the ICMP protocol, the ICMP type. A value of `-1` is a wildcard meaning all types. Required if specifying `icmp` for the protocol.
      パラメータ:
        `type` - For the ICMP protocol, the ICMP type. A value of `-1` is a wildcard meaning all types. Required if specifying `icmp` for the protocol.

    - #### withType

          public IcmpTypeCode withType(java.lang.Integer type)

      For the ICMP protocol, the ICMP type. A value of `-1` is a wildcard meaning all types. Required if specifying `icmp` for the protocol.

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

      パラメータ:
        `type` - For the ICMP protocol, the ICMP type. A value of `-1` is a wildcard meaning all types. Required if specifying `icmp` for the protocol.

    - #### getCode

          public java.lang.Integer getCode()

      For the ICMP protocol, the ICMP code. A value of `-1` is a wildcard meaning all codes. Required if specifying `icmp` for the protocol.
      戻り値:
        For the ICMP protocol, the ICMP code. A value of `-1` is a wildcard meaning all codes. Required if specifying `icmp` for the protocol.

    - #### setCode

          public void setCode(java.lang.Integer code)

      For the ICMP protocol, the ICMP code. A value of `-1` is a wildcard meaning all codes. Required if specifying `icmp` for the protocol.
      パラメータ:
        `code` - For the ICMP protocol, the ICMP code. A value of `-1` is a wildcard meaning all codes. Required if specifying `icmp` for the protocol.

    - #### withCode

          public IcmpTypeCode withCode(java.lang.Integer code)

      For the ICMP protocol, the ICMP code. A value of `-1` is a wildcard meaning all codes. Required if specifying `icmp` for the protocol.

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

      パラメータ:
        `code` - For the ICMP protocol, the ICMP code. A value of `-1` is a wildcard meaning all codes. Required if specifying `icmp` for the protocol.

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