| Package | Description |
|---|---|
| com.amazonaws.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
PortInfo |
PortInfo.clone() |
PortInfo |
OpenInstancePublicPortsRequest.getPortInfo()
An object to describe the ports to open for the specified instance.
|
PortInfo |
CloseInstancePublicPortsRequest.getPortInfo()
An object to describe the ports to close for the specified instance.
|
PortInfo |
PortInfo.withCidrListAliases(Collection<String> cidrListAliases)
An alias that defines access for a preconfigured range of IP addresses.
|
PortInfo |
PortInfo.withCidrListAliases(String... cidrListAliases)
An alias that defines access for a preconfigured range of IP addresses.
|
PortInfo |
PortInfo.withCidrs(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 |
PortInfo.withCidrs(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 |
PortInfo.withFromPort(Integer fromPort)
The first port in a range of open ports on an instance.
|
PortInfo |
PortInfo.withIpv6Cidrs(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 |
PortInfo.withIpv6Cidrs(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 |
PortInfo.withProtocol(NetworkProtocol protocol)
The IP protocol name.
|
PortInfo |
PortInfo.withProtocol(String protocol)
The IP protocol name.
|
PortInfo |
PortInfo.withToPort(Integer toPort)
The last port in a range of open ports on an instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<PortInfo> |
PutInstancePublicPortsRequest.getPortInfos()
An array of objects to describe the ports to open for the specified instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OpenInstancePublicPortsRequest.setPortInfo(PortInfo portInfo)
An object to describe the ports to open for the specified instance.
|
void |
CloseInstancePublicPortsRequest.setPortInfo(PortInfo portInfo)
An object to describe the ports to close for the specified instance.
|
OpenInstancePublicPortsRequest |
OpenInstancePublicPortsRequest.withPortInfo(PortInfo portInfo)
An object to describe the ports to open for the specified instance.
|
CloseInstancePublicPortsRequest |
CloseInstancePublicPortsRequest.withPortInfo(PortInfo portInfo)
An object to describe the ports to close for the specified instance.
|
PutInstancePublicPortsRequest |
PutInstancePublicPortsRequest.withPortInfos(PortInfo... portInfos)
An array of objects to describe the ports to open for the specified instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PutInstancePublicPortsRequest.setPortInfos(Collection<PortInfo> portInfos)
An array of objects to describe the ports to open for the specified instance.
|
PutInstancePublicPortsRequest |
PutInstancePublicPortsRequest.withPortInfos(Collection<PortInfo> portInfos)
An array of objects to describe the ports to open for the specified instance.
|
Copyright © 2021. All rights reserved.