com.amazonaws.services.ec2.model

## クラス ReplaceNetworkAclEntryRequest

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

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

      public class ReplaceNetworkAclEntryRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `ReplaceNetworkAclEntry operation`.

  Replaces an entry (i.e., rule) in a network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCidrBlock()` The CIDR range to allow or deny, in CIDR notation (e.g., `172.16.0.0/24`).
    `java.lang.Boolean` | `getEgress()` Whether this rule applies to egress traffic from the subnet (`true`) or ingress traffic (`false`).
    `IcmpTypeCode` | `getIcmpTypeCode()` ICMP values.
    `java.lang.String` | `getNetworkAclId()` ID of the ACL where the entry will be replaced.
    `PortRange` | `getPortRange()` Port ranges.
    `java.lang.String` | `getProtocol()` IP protocol the rule applies to.
    `java.lang.String` | `getRuleAction()` Whether to allow or deny traffic that matches the rule.
    `java.lang.Integer` | `getRuleNumber()` Rule number of the entry to replace.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isEgress()` Whether this rule applies to egress traffic from the subnet (`true`) or ingress traffic (`false`).
    `void` | `setCidrBlock(java.lang.String cidrBlock)` The CIDR range to allow or deny, in CIDR notation (e.g., `172.16.0.0/24`).
    `void` | `setEgress(java.lang.Boolean egress)` Whether this rule applies to egress traffic from the subnet (`true`) or ingress traffic (`false`).
    `void` | `setIcmpTypeCode(IcmpTypeCode icmpTypeCode)` ICMP values.
    `void` | `setNetworkAclId(java.lang.String networkAclId)` ID of the ACL where the entry will be replaced.
    `void` | `setPortRange(PortRange portRange)` Port ranges.
    `void` | `setProtocol(java.lang.String protocol)` IP protocol the rule applies to.
    `void` | `setRuleAction(RuleAction ruleAction)` Whether to allow or deny traffic that matches the rule.
    `void` | `setRuleAction(java.lang.String ruleAction)` Whether to allow or deny traffic that matches the rule.
    `void` | `setRuleNumber(java.lang.Integer ruleNumber)` Rule number of the entry to replace.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ReplaceNetworkAclEntryRequest` | `withCidrBlock(java.lang.String cidrBlock)` The CIDR range to allow or deny, in CIDR notation (e.g., `172.16.0.0/24`).
    `ReplaceNetworkAclEntryRequest` | `withEgress(java.lang.Boolean egress)` Whether this rule applies to egress traffic from the subnet (`true`) or ingress traffic (`false`).
    `ReplaceNetworkAclEntryRequest` | `withIcmpTypeCode(IcmpTypeCode icmpTypeCode)` ICMP values.
    `ReplaceNetworkAclEntryRequest` | `withNetworkAclId(java.lang.String networkAclId)` ID of the ACL where the entry will be replaced.
    `ReplaceNetworkAclEntryRequest` | `withPortRange(PortRange portRange)` Port ranges.
    `ReplaceNetworkAclEntryRequest` | `withProtocol(java.lang.String protocol)` IP protocol the rule applies to.
    `ReplaceNetworkAclEntryRequest` | `withRuleAction(RuleAction ruleAction)` Whether to allow or deny traffic that matches the rule.
    `ReplaceNetworkAclEntryRequest` | `withRuleAction(java.lang.String ruleAction)` Whether to allow or deny traffic that matches the rule.
    `ReplaceNetworkAclEntryRequest` | `withRuleNumber(java.lang.Integer ruleNumber)` Rule number of the entry to replace.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### ReplaceNetworkAclEntryRequest

          public ReplaceNetworkAclEntryRequest()

  - ### メソッドの詳細

    - #### getNetworkAclId

          public java.lang.String getNetworkAclId()

      ID of the ACL where the entry will be replaced.
      戻り値:
        ID of the ACL where the entry will be replaced.

    - #### setNetworkAclId

          public void setNetworkAclId(java.lang.String networkAclId)

      ID of the ACL where the entry will be replaced.
      パラメータ:
        `networkAclId` - ID of the ACL where the entry will be replaced.

    - #### withNetworkAclId

          public ReplaceNetworkAclEntryRequest withNetworkAclId(java.lang.String networkAclId)

      ID of the ACL where the entry will be replaced.

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

      パラメータ:
        `networkAclId` - ID of the ACL where the entry will be replaced.

    - #### getRuleNumber

          public java.lang.Integer getRuleNumber()

      Rule number of the entry to replace.
      戻り値:
        Rule number of the entry to replace.

    - #### setRuleNumber

          public void setRuleNumber(java.lang.Integer ruleNumber)

      Rule number of the entry to replace.
      パラメータ:
        `ruleNumber` - Rule number of the entry to replace.

    - #### withRuleNumber

          public ReplaceNetworkAclEntryRequest withRuleNumber(java.lang.Integer ruleNumber)

      Rule number of the entry to replace.

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

      パラメータ:
        `ruleNumber` - Rule number of the entry to replace.

    - #### getProtocol

          public java.lang.String getProtocol()

      IP protocol the rule applies to. Valid Values: `tcp`, `udp`, `icmp` or an IP protocol number.
      戻り値:
        IP protocol the rule applies to. Valid Values: `tcp`, `udp`, `icmp` or an IP protocol number.

    - #### setProtocol

          public void setProtocol(java.lang.String protocol)

      IP protocol the rule applies to. Valid Values: `tcp`, `udp`, `icmp` or an IP protocol number.
      パラメータ:
        `protocol` - IP protocol the rule applies to. Valid Values: `tcp`, `udp`, `icmp` or an IP protocol number.

    - #### withProtocol

          public ReplaceNetworkAclEntryRequest withProtocol(java.lang.String protocol)

      IP protocol the rule applies to. Valid Values: `tcp`, `udp`, `icmp` or an IP protocol number.

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

      パラメータ:
        `protocol` - IP protocol the rule applies to. Valid Values: `tcp`, `udp`, `icmp` or an IP protocol number.

    - #### getRuleAction

          public java.lang.String getRuleAction()

      Whether to allow or deny traffic that matches the rule.

      Constraints:
      Allowed Values: allow, deny

      戻り値:
        Whether to allow or deny traffic that matches the rule.
      関連項目:
        `RuleAction`

    - #### setRuleAction

          public void setRuleAction(java.lang.String ruleAction)

      Whether to allow or deny traffic that matches the rule.

      Constraints:
      Allowed Values: allow, deny

      パラメータ:
        `ruleAction` - Whether to allow or deny traffic that matches the rule.
      関連項目:
        `RuleAction`

    - #### withRuleAction

          public ReplaceNetworkAclEntryRequest withRuleAction(java.lang.String ruleAction)

      Whether to allow or deny traffic that matches the rule.

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

      Constraints:
      Allowed Values: allow, deny

      パラメータ:
        `ruleAction` - Whether to allow or deny traffic that matches the rule.
      関連項目:
        `RuleAction`

    - #### setRuleAction

          public void setRuleAction(RuleAction ruleAction)

      Whether to allow or deny traffic that matches the rule.

      Constraints:
      Allowed Values: allow, deny

      パラメータ:
        `ruleAction` - Whether to allow or deny traffic that matches the rule.
      関連項目:
        `RuleAction`

    - #### withRuleAction

          public ReplaceNetworkAclEntryRequest withRuleAction(RuleAction ruleAction)

      Whether to allow or deny traffic that matches the rule.

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

      Constraints:
      Allowed Values: allow, deny

      パラメータ:
        `ruleAction` - Whether to allow or deny traffic that matches the rule.
      関連項目:
        `RuleAction`

    - #### isEgress

          public java.lang.Boolean isEgress()

      Whether this rule applies to egress traffic from the subnet (`true`) or ingress traffic (`false`).
      戻り値:
        Whether this rule applies to egress traffic from the subnet (`true`) or ingress traffic (`false`).

    - #### setEgress

          public void setEgress(java.lang.Boolean egress)

      Whether this rule applies to egress traffic from the subnet (`true`) or ingress traffic (`false`).
      パラメータ:
        `egress` - Whether this rule applies to egress traffic from the subnet (`true`) or ingress traffic (`false`).

    - #### withEgress

          public ReplaceNetworkAclEntryRequest withEgress(java.lang.Boolean egress)

      Whether this rule applies to egress traffic from the subnet (`true`) or ingress traffic (`false`).

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

      パラメータ:
        `egress` - Whether this rule applies to egress traffic from the subnet (`true`) or ingress traffic (`false`).

    - #### getEgress

          public java.lang.Boolean getEgress()

      Whether this rule applies to egress traffic from the subnet (`true`) or ingress traffic (`false`).
      戻り値:
        Whether this rule applies to egress traffic from the subnet (`true`) or ingress traffic (`false`).

    - #### getCidrBlock

          public java.lang.String getCidrBlock()

      The CIDR range to allow or deny, in CIDR notation (e.g., `172.16.0.0/24`).
      戻り値:
        The CIDR range to allow or deny, in CIDR notation (e.g., `172.16.0.0/24`).

    - #### setCidrBlock

          public void setCidrBlock(java.lang.String cidrBlock)

      The CIDR range to allow or deny, in CIDR notation (e.g., `172.16.0.0/24`).
      パラメータ:
        `cidrBlock` - The CIDR range to allow or deny, in CIDR notation (e.g., `172.16.0.0/24`).

    - #### withCidrBlock

          public ReplaceNetworkAclEntryRequest withCidrBlock(java.lang.String cidrBlock)

      The CIDR range to allow or deny, in CIDR notation (e.g., `172.16.0.0/24`).

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

      パラメータ:
        `cidrBlock` - The CIDR range to allow or deny, in CIDR notation (e.g., `172.16.0.0/24`).

    - #### getIcmpTypeCode

          public IcmpTypeCode getIcmpTypeCode()

      ICMP values.
      戻り値:
        ICMP values.

    - #### setIcmpTypeCode

          public void setIcmpTypeCode(IcmpTypeCode icmpTypeCode)

      ICMP values.
      パラメータ:
        `icmpTypeCode` - ICMP values.

    - #### withIcmpTypeCode

          public ReplaceNetworkAclEntryRequest withIcmpTypeCode(IcmpTypeCode icmpTypeCode)

      ICMP values.

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

      パラメータ:
        `icmpTypeCode` - ICMP values.

    - #### getPortRange

          public PortRange getPortRange()

      Port ranges.
      戻り値:
        Port ranges.

    - #### setPortRange

          public void setPortRange(PortRange portRange)

      Port ranges.
      パラメータ:
        `portRange` - Port ranges.

    - #### withPortRange

          public ReplaceNetworkAclEntryRequest withPortRange(PortRange portRange)

      Port ranges.

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

      パラメータ:
        `portRange` - Port ranges.

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