| Package | Description |
|---|---|
| software.amazon.awssdk.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
static PortInfo.Builder |
PortInfo.builder() |
PortInfo.Builder |
PortInfo.Builder.cidrListAliases(Collection<String> cidrListAliases)
An alias that defines access for a preconfigured range of IP addresses.
|
PortInfo.Builder |
PortInfo.Builder.cidrListAliases(String... cidrListAliases)
An alias that defines access for a preconfigured range of IP addresses.
|
PortInfo.Builder |
PortInfo.Builder.cidrs(Collection<String> cidrs)
The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance
through the ports, and the protocol.
|
PortInfo.Builder |
PortInfo.Builder.cidrs(String... cidrs)
The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance
through the ports, and the protocol.
|
PortInfo.Builder |
PortInfo.Builder.fromPort(Integer fromPort)
The first port in a range of open ports on an instance.
|
PortInfo.Builder |
PortInfo.Builder.ipv6Cidrs(Collection<String> ipv6Cidrs)
The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance
through the ports, and the protocol.
|
PortInfo.Builder |
PortInfo.Builder.ipv6Cidrs(String... ipv6Cidrs)
The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance
through the ports, and the protocol.
|
PortInfo.Builder |
PortInfo.Builder.protocol(NetworkProtocol protocol)
The IP protocol name.
|
PortInfo.Builder |
PortInfo.Builder.protocol(String protocol)
The IP protocol name.
|
PortInfo.Builder |
PortInfo.toBuilder() |
PortInfo.Builder |
PortInfo.Builder.toPort(Integer toPort)
The last port in a range of open ports on an instance.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends PortInfo.Builder> |
PortInfo.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default OpenInstancePublicPortsRequest.Builder |
OpenInstancePublicPortsRequest.Builder.portInfo(Consumer<PortInfo.Builder> portInfo)
An object to describe the ports to open for the specified instance.
|
default CloseInstancePublicPortsRequest.Builder |
CloseInstancePublicPortsRequest.Builder.portInfo(Consumer<PortInfo.Builder> portInfo)
An object to describe the ports to close for the specified instance.
|
Copyright © 2023. All rights reserved.