| Package | Description |
|---|---|
| com.amazonaws.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
PortInfo |
PortInfo.clone() |
PortInfo |
CloseInstancePublicPortsRequest.getPortInfo()
An object to describe the ports to close for the specified instance.
|
PortInfo |
OpenInstancePublicPortsRequest.getPortInfo()
An object to describe the ports to open 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 IP address, or range of IP addresses in CIDR notation, that are allowed to connect to an instance through the
ports, and the protocol.
|
PortInfo |
PortInfo.withCidrs(String... cidrs)
The IP address, or range of IP 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.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 |
CloseInstancePublicPortsRequest.setPortInfo(PortInfo portInfo)
An object to describe the ports to close for the specified instance.
|
void |
OpenInstancePublicPortsRequest.setPortInfo(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.
|
OpenInstancePublicPortsRequest |
OpenInstancePublicPortsRequest.withPortInfo(PortInfo portInfo)
An object to describe the ports to open 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 © 2020. All rights reserved.