Interface SecurityGroupRuleDescription.Builder

    • Method Detail

      • ipv4Range

        SecurityGroupRuleDescription.Builder ipv4Range​(String ipv4Range)

        The IPv4 ranges for the security group rule.

        Parameters:
        ipv4Range - The IPv4 ranges for the security group rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv6Range

        SecurityGroupRuleDescription.Builder ipv6Range​(String ipv6Range)

        The IPv6 ranges for the security group rule.

        Parameters:
        ipv6Range - The IPv6 ranges for the security group rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • prefixListId

        SecurityGroupRuleDescription.Builder prefixListId​(String prefixListId)

        The ID of the prefix list for the security group rule.

        Parameters:
        prefixListId - The ID of the prefix list for the security group rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        SecurityGroupRuleDescription.Builder protocol​(String protocol)

        The IP protocol name (tcp, udp, icmp, icmpv6) or number.

        Parameters:
        protocol - The IP protocol name (tcp, udp, icmp, icmpv6) or number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fromPort

        SecurityGroupRuleDescription.Builder fromPort​(Long fromPort)

        The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types.

        Parameters:
        fromPort - The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toPort

        SecurityGroupRuleDescription.Builder toPort​(Long toPort)

        The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.

        Parameters:
        toPort - The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.