public static interface IpPermission.Builder extends SdkPojo, CopyableBuilder<IpPermission.Builder,IpPermission>
| Modifier and Type | Method and Description |
|---|---|
IpPermission.Builder |
fromPort(Integer fromPort)
A starting value for a range of allowed port numbers.
|
IpPermission.Builder |
ipRange(String ipRange)
A range of allowed IP addresses.
|
IpPermission.Builder |
protocol(IpProtocol protocol)
The network communication protocol used by the fleet.
|
IpPermission.Builder |
protocol(String protocol)
The network communication protocol used by the fleet.
|
IpPermission.Builder |
toPort(Integer toPort)
An ending value for a range of allowed port numbers.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildIpPermission.Builder fromPort(Integer fromPort)
A starting value for a range of allowed port numbers.
For fleets using Linux builds, only ports 22 and 1026-60000 are valid.
For fleets using Windows builds, only ports 1026-60000 are valid.
fromPort - A starting value for a range of allowed port numbers.
For fleets using Linux builds, only ports 22 and 1026-60000 are valid.
For fleets using Windows builds, only ports 1026-60000 are valid.
IpPermission.Builder toPort(Integer toPort)
An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be equal
to or greater than FromPort.
For fleets using Linux builds, only ports 22 and 1026-60000 are valid.
For fleets using Windows builds, only ports 1026-60000 are valid.
toPort - An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must
be equal to or greater than FromPort.
For fleets using Linux builds, only ports 22 and 1026-60000 are valid.
For fleets using Windows builds, only ports 1026-60000 are valid.
IpPermission.Builder ipRange(String ipRange)
A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "
000.000.000.000/[subnet mask]" or optionally the shortened version "
0.0.0.0/[subnet mask]".
ipRange - A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "
000.000.000.000/[subnet mask]" or optionally the shortened version "
0.0.0.0/[subnet mask]".IpPermission.Builder protocol(String protocol)
The network communication protocol used by the fleet.
protocol - The network communication protocol used by the fleet.IpProtocol,
IpProtocolIpPermission.Builder protocol(IpProtocol protocol)
The network communication protocol used by the fleet.
protocol - The network communication protocol used by the fleet.IpProtocol,
IpProtocolCopyright © 2023. All rights reserved.