| Package | Description |
|---|---|
| com.amazonaws.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
InstancePortState |
InstancePortState.clone() |
InstancePortState |
InstancePortState.withCidrListAliases(Collection<String> cidrListAliases)
An alias that defines access for a preconfigured range of IP addresses.
|
InstancePortState |
InstancePortState.withCidrListAliases(String... cidrListAliases)
An alias that defines access for a preconfigured range of IP addresses.
|
InstancePortState |
InstancePortState.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.
|
InstancePortState |
InstancePortState.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.
|
InstancePortState |
InstancePortState.withFromPort(Integer fromPort)
The first port in a range of open ports on an instance.
|
InstancePortState |
InstancePortState.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.
|
InstancePortState |
InstancePortState.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.
|
InstancePortState |
InstancePortState.withProtocol(NetworkProtocol protocol)
The IP protocol name.
|
InstancePortState |
InstancePortState.withProtocol(String protocol)
The IP protocol name.
|
InstancePortState |
InstancePortState.withState(PortState state)
Specifies whether the instance port is
open or closed. |
InstancePortState |
InstancePortState.withState(String state)
Specifies whether the instance port is
open or closed. |
InstancePortState |
InstancePortState.withToPort(Integer toPort)
The last port in a range of open ports on an instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<InstancePortState> |
GetInstancePortStatesResult.getPortStates()
An array of objects that describe the firewall port states for the specified instance.
|
| Modifier and Type | Method and Description |
|---|---|
GetInstancePortStatesResult |
GetInstancePortStatesResult.withPortStates(InstancePortState... portStates)
An array of objects that describe the firewall port states for the specified instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GetInstancePortStatesResult.setPortStates(Collection<InstancePortState> portStates)
An array of objects that describe the firewall port states for the specified instance.
|
GetInstancePortStatesResult |
GetInstancePortStatesResult.withPortStates(Collection<InstancePortState> portStates)
An array of objects that describe the firewall port states for the specified instance.
|
Copyright © 2022. All rights reserved.