public static interface IpPermission.Builder extends CopyableBuilder<IpPermission.Builder,IpPermission>
Modifier and Type | Method and Description |
---|---|
IpPermission.Builder |
fromPort(Integer fromPort)
Starting value for a range of allowed port numbers.
|
IpPermission.Builder |
ipRange(String ipRange)
Range of allowed IP addresses.
|
IpPermission.Builder |
protocol(IpProtocol protocol)
Network communication protocol used by the fleet.
|
IpPermission.Builder |
protocol(String protocol)
Network communication protocol used by the fleet.
|
IpPermission.Builder |
toPort(Integer toPort)
Ending value for a range of allowed port numbers.
|
copy
applyMutation, build
IpPermission.Builder fromPort(Integer fromPort)
Starting value for a range of allowed port numbers.
fromPort
- Starting value for a range of allowed port numbers.IpPermission.Builder toPort(Integer toPort)
Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher
than FromPort
.
toPort
- Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be
higher than FromPort
.IpPermission.Builder ipRange(String ipRange)
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
- 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)
Network communication protocol used by the fleet.
protocol
- Network communication protocol used by the fleet.IpProtocol
,
IpProtocol
IpPermission.Builder protocol(IpProtocol protocol)
Network communication protocol used by the fleet.
protocol
- Network communication protocol used by the fleet.IpProtocol
,
IpProtocol
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.