| 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 IP address, or range of IP addresses in CIDR notation, that are allowed to connect to an instance through the
ports, and the protocol.
|
InstancePortState |
InstancePortState.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.
|
InstancePortState |
InstancePortState.withFromPort(Integer fromPort)
The first port in a range of open ports on an instance.
|
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 © 2020. All rights reserved.