com.amazonaws.services.ec2.model

## クラス NetworkAclEntry

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

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

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

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCidrBlock()` Returns the value of the CidrBlock property for this object.
    `java.lang.Boolean` | `getEgress()` Returns the value of the Egress property for this object.
    `IcmpTypeCode` | `getIcmpTypeCode()`
    `PortRange` | `getPortRange()`
    `java.lang.String` | `getProtocol()` Returns the value of the Protocol property for this object.
    `java.lang.String` | `getRuleAction()` Returns the value of the RuleAction property for this object.
    `java.lang.Integer` | `getRuleNumber()` Returns the value of the RuleNumber property for this object.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isEgress()` Returns the value of the Egress property for this object.
    `void` | `setCidrBlock(java.lang.String cidrBlock)` Sets the value of the CidrBlock property for this object.
    `void` | `setEgress(java.lang.Boolean egress)` Sets the value of the Egress property for this object.
    `void` | `setIcmpTypeCode(IcmpTypeCode icmpTypeCode)`
    `void` | `setPortRange(PortRange portRange)`
    `void` | `setProtocol(java.lang.String protocol)` Sets the value of the Protocol property for this object.
    `void` | `setRuleAction(RuleAction ruleAction)` Sets the value of the RuleAction property for this object.
    `void` | `setRuleAction(java.lang.String ruleAction)` Sets the value of the RuleAction property for this object.
    `void` | `setRuleNumber(java.lang.Integer ruleNumber)` Sets the value of the RuleNumber property for this object.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `NetworkAclEntry` | `withCidrBlock(java.lang.String cidrBlock)` Sets the value of the CidrBlock property for this object.
    `NetworkAclEntry` | `withEgress(java.lang.Boolean egress)` Sets the value of the Egress property for this object.
    `NetworkAclEntry` | `withIcmpTypeCode(IcmpTypeCode icmpTypeCode)` Returns a reference to this object so that method calls can be chained together.
    `NetworkAclEntry` | `withPortRange(PortRange portRange)` Returns a reference to this object so that method calls can be chained together.
    `NetworkAclEntry` | `withProtocol(java.lang.String protocol)` Sets the value of the Protocol property for this object.
    `NetworkAclEntry` | `withRuleAction(RuleAction ruleAction)` Sets the value of the RuleAction property for this object.
    `NetworkAclEntry` | `withRuleAction(java.lang.String ruleAction)` Sets the value of the RuleAction property for this object.
    `NetworkAclEntry` | `withRuleNumber(java.lang.Integer ruleNumber)` Sets the value of the RuleNumber property for this object.

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

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

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

    - #### NetworkAclEntry

          public NetworkAclEntry()

  - ### メソッドの詳細

    - #### getRuleNumber

          public java.lang.Integer getRuleNumber()

      Returns the value of the RuleNumber property for this object.
      戻り値:
        The value of the RuleNumber property for this object.

    - #### setRuleNumber

          public void setRuleNumber(java.lang.Integer ruleNumber)

      Sets the value of the RuleNumber property for this object.
      パラメータ:
        `ruleNumber` - The new value for the RuleNumber property for this object.

    - #### withRuleNumber

          public NetworkAclEntry withRuleNumber(java.lang.Integer ruleNumber)

      Sets the value of the RuleNumber property for this object.

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

      パラメータ:
        `ruleNumber` - The new value for the RuleNumber property for this object.

    - #### getProtocol

          public java.lang.String getProtocol()

      Returns the value of the Protocol property for this object.
      戻り値:
        The value of the Protocol property for this object.

    - #### setProtocol

          public void setProtocol(java.lang.String protocol)

      Sets the value of the Protocol property for this object.
      パラメータ:
        `protocol` - The new value for the Protocol property for this object.

    - #### withProtocol

          public NetworkAclEntry withProtocol(java.lang.String protocol)

      Sets the value of the Protocol property for this object.

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

      パラメータ:
        `protocol` - The new value for the Protocol property for this object.

    - #### getRuleAction

          public java.lang.String getRuleAction()

      Returns the value of the RuleAction property for this object.

      Constraints:
      Allowed Values: allow, deny

      戻り値:
        The value of the RuleAction property for this object.
      関連項目:
        `RuleAction`

    - #### setRuleAction

          public void setRuleAction(java.lang.String ruleAction)

      Sets the value of the RuleAction property for this object.

      Constraints:
      Allowed Values: allow, deny

      パラメータ:
        `ruleAction` - The new value for the RuleAction property for this object.
      関連項目:
        `RuleAction`

    - #### withRuleAction

          public NetworkAclEntry withRuleAction(java.lang.String ruleAction)

      Sets the value of the RuleAction property for this object.

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

      Constraints:
      Allowed Values: allow, deny

      パラメータ:
        `ruleAction` - The new value for the RuleAction property for this object.
      関連項目:
        `RuleAction`

    - #### setRuleAction

          public void setRuleAction(RuleAction ruleAction)

      Sets the value of the RuleAction property for this object.

      Constraints:
      Allowed Values: allow, deny

      パラメータ:
        `ruleAction` - The new value for the RuleAction property for this object.
      関連項目:
        `RuleAction`

    - #### withRuleAction

          public NetworkAclEntry withRuleAction(RuleAction ruleAction)

      Sets the value of the RuleAction property for this object.

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

      Constraints:
      Allowed Values: allow, deny

      パラメータ:
        `ruleAction` - The new value for the RuleAction property for this object.
      関連項目:
        `RuleAction`

    - #### isEgress

          public java.lang.Boolean isEgress()

      Returns the value of the Egress property for this object.
      戻り値:
        The value of the Egress property for this object.

    - #### setEgress

          public void setEgress(java.lang.Boolean egress)

      Sets the value of the Egress property for this object.
      パラメータ:
        `egress` - The new value for the Egress property for this object.

    - #### withEgress

          public NetworkAclEntry withEgress(java.lang.Boolean egress)

      Sets the value of the Egress property for this object.

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

      パラメータ:
        `egress` - The new value for the Egress property for this object.

    - #### getEgress

          public java.lang.Boolean getEgress()

      Returns the value of the Egress property for this object.
      戻り値:
        The value of the Egress property for this object.

    - #### getCidrBlock

          public java.lang.String getCidrBlock()

      Returns the value of the CidrBlock property for this object.
      戻り値:
        The value of the CidrBlock property for this object.

    - #### setCidrBlock

          public void setCidrBlock(java.lang.String cidrBlock)

      Sets the value of the CidrBlock property for this object.
      パラメータ:
        `cidrBlock` - The new value for the CidrBlock property for this object.

    - #### withCidrBlock

          public NetworkAclEntry withCidrBlock(java.lang.String cidrBlock)

      Sets the value of the CidrBlock property for this object.

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

      パラメータ:
        `cidrBlock` - The new value for the CidrBlock property for this object.

    - #### getIcmpTypeCode

          public IcmpTypeCode getIcmpTypeCode()

      戻り値:

    - #### setIcmpTypeCode

          public void setIcmpTypeCode(IcmpTypeCode icmpTypeCode)

      パラメータ:
        `icmpTypeCode` -

    - #### withIcmpTypeCode

          public NetworkAclEntry withIcmpTypeCode(IcmpTypeCode icmpTypeCode)

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

      パラメータ:
        `icmpTypeCode` -

    - #### getPortRange

          public PortRange getPortRange()

      戻り値:

    - #### setPortRange

          public void setPortRange(PortRange portRange)

      パラメータ:
        `portRange` -

    - #### withPortRange

          public NetworkAclEntry withPortRange(PortRange portRange)

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

      パラメータ:
        `portRange` -

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