| Package | Description |
|---|---|
| com.amazonaws.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
InstancePortInfo |
InstancePortInfo.clone() |
InstancePortInfo |
InstancePortInfo.withAccessDirection(AccessDirection accessDirection)
The access direction (
inbound or outbound). |
InstancePortInfo |
InstancePortInfo.withAccessDirection(String accessDirection)
The access direction (
inbound or outbound). |
InstancePortInfo |
InstancePortInfo.withAccessFrom(String accessFrom)
The location from which access is allowed.
|
InstancePortInfo |
InstancePortInfo.withAccessType(PortAccessType accessType)
The type of access (
Public or Private). |
InstancePortInfo |
InstancePortInfo.withAccessType(String accessType)
The type of access (
Public or Private). |
InstancePortInfo |
InstancePortInfo.withCidrListAliases(Collection<String> cidrListAliases)
An alias that defines access for a preconfigured range of IP addresses.
|
InstancePortInfo |
InstancePortInfo.withCidrListAliases(String... cidrListAliases)
An alias that defines access for a preconfigured range of IP addresses.
|
InstancePortInfo |
InstancePortInfo.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.
|
InstancePortInfo |
InstancePortInfo.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.
|
InstancePortInfo |
InstancePortInfo.withCommonName(String commonName)
The common name of the port information.
|
InstancePortInfo |
InstancePortInfo.withFromPort(Integer fromPort)
The first port in a range of open ports on an instance.
|
InstancePortInfo |
InstancePortInfo.withProtocol(NetworkProtocol protocol)
The IP protocol name.
|
InstancePortInfo |
InstancePortInfo.withProtocol(String protocol)
The IP protocol name.
|
InstancePortInfo |
InstancePortInfo.withToPort(Integer toPort)
The last port in a range of open ports on an instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<InstancePortInfo> |
InstanceNetworking.getPorts()
An array of key-value pairs containing information about the ports on the instance.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceNetworking |
InstanceNetworking.withPorts(InstancePortInfo... ports)
An array of key-value pairs containing information about the ports on the instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InstanceNetworking.setPorts(Collection<InstancePortInfo> ports)
An array of key-value pairs containing information about the ports on the instance.
|
InstanceNetworking |
InstanceNetworking.withPorts(Collection<InstancePortInfo> ports)
An array of key-value pairs containing information about the ports on the instance.
|
Copyright © 2020. All rights reserved.