Interface NetworkACLEntry.Builder

    • Method Detail

      • ruleNumber

        NetworkACLEntry.Builder ruleNumber​(Integer ruleNumber)

        The rule number for the entry. For example 100. All the network ACL entries are processed in ascending order by rule number.

        Parameters:
        ruleNumber - The rule number for the entry. For example 100. All the network ACL entries are processed in ascending order by rule number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        NetworkACLEntry.Builder protocol​(String protocol)

        The protocol number. A value of -1 means all the protocols.

        Parameters:
        protocol - The protocol number. A value of -1 means all the protocols.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ruleAction

        NetworkACLEntry.Builder ruleAction​(String ruleAction)

        Indicates whether to allow or deny the traffic that matches the rule.

        Parameters:
        ruleAction - Indicates whether to allow or deny the traffic that matches the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RuleAction, RuleAction
      • ruleAction

        NetworkACLEntry.Builder ruleAction​(RuleAction ruleAction)

        Indicates whether to allow or deny the traffic that matches the rule.

        Parameters:
        ruleAction - Indicates whether to allow or deny the traffic that matches the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RuleAction, RuleAction
      • portRange

        NetworkACLEntry.Builder portRange​(PortRange portRange)

        The range of ports the rule applies to.

        Parameters:
        portRange - The range of ports the rule applies to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • icmpTypeCode

        NetworkACLEntry.Builder icmpTypeCode​(IcmpTypeCode icmpTypeCode)

        Defines the ICMP protocol that consists of the ICMP type and code.

        Parameters:
        icmpTypeCode - Defines the ICMP protocol that consists of the ICMP type and code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cidrBlock

        NetworkACLEntry.Builder cidrBlock​(String cidrBlock)

        The IPv4 network range to allow or deny, in CIDR notation. For example, 172.16.0.0/24. We modify the specified CIDR block to its canonical form. For example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

        Parameters:
        cidrBlock - The IPv4 network range to allow or deny, in CIDR notation. For example, 172.16.0.0/24. We modify the specified CIDR block to its canonical form. For example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.
        Returns:
        Returns a reference to this object so that method calls can be chained together.