Class InstancePublicPortsPortInfo


  • public final class InstancePublicPortsPortInfo
    extends java.lang.Object
    • Method Detail

      • cidrListAliases

        public java.util.List<java.lang.String> cidrListAliases()
        Returns:
        Set of CIDR aliases that define access for a preconfigured range of IP addresses.
      • cidrs

        public java.util.List<java.lang.String> cidrs()
        Returns:
        Set of IPv4 addresses or ranges of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol.
      • fromPort

        public java.lang.Integer fromPort()
        Returns:
        First port in a range of open ports on an instance. See [PortInfo](https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_PortInfo.html) for details.
      • ipv6Cidrs

        public java.util.List<java.lang.String> ipv6Cidrs()
        Returns:
        Set of IPv6 addresses or ranges of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol.
      • protocol

        public java.lang.String protocol()
        Returns:
        IP protocol name. Valid values: `tcp`, `all`, `udp`, `icmp`, `icmpv6`. See [PortInfo](https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_PortInfo.html) for details.
      • toPort

        public java.lang.Integer toPort()
        Returns:
        Last port in a range of open ports on an instance. See [PortInfo](https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_PortInfo.html) for details.