Interface IpPermission.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IpPermission.Builder,
,IpPermission> SdkBuilder<IpPermission.Builder,
,IpPermission> SdkPojo
- Enclosing class:
IpPermission
-
Method Summary
Modifier and TypeMethodDescriptionA starting value for a range of allowed port numbers.A range of allowed IP addresses.The network communication protocol used by the fleet.protocol
(IpProtocol protocol) The network communication protocol used by the fleet.An ending value for a range of allowed port numbers.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fromPort
A starting value for a range of allowed port numbers.
For fleets using Linux builds, only ports
22
and1026-60000
are valid.For fleets using Windows builds, only ports
1026-60000
are valid.- Parameters:
fromPort
- A starting value for a range of allowed port numbers.For fleets using Linux builds, only ports
22
and1026-60000
are valid.For fleets using Windows builds, only ports
1026-60000
are valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
and1026-60000
are valid.For fleets using Windows builds, only ports
1026-60000
are valid.- Parameters:
toPort
- An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater thanFromPort
.For fleets using Linux builds, only ports
22
and1026-60000
are valid.For fleets using Windows builds, only ports
1026-60000
are valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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]
".- Parameters:
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]
".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The network communication protocol used by the fleet.
- Parameters:
protocol
- The network communication protocol used by the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The network communication protocol used by the fleet.
- Parameters:
protocol
- The network communication protocol used by the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-