Interface IpPermission.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IpPermission.Builder,IpPermission>,SdkBuilder<IpPermission.Builder,IpPermission>,SdkPojo
- Enclosing class:
- IpPermission
public static interface IpPermission.Builder extends SdkPojo, CopyableBuilder<IpPermission.Builder,IpPermission>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IpPermission.BuilderfromPort(Integer fromPort)A starting value for a range of allowed port numbers.IpPermission.BuilderipRange(String ipRange)A range of allowed IP addresses.IpPermission.Builderprotocol(String protocol)The network communication protocol used by the fleet.IpPermission.Builderprotocol(IpProtocol protocol)The network communication protocol used by the fleet.IpPermission.BuildertoPort(Integer toPort)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 Detail
-
fromPort
IpPermission.Builder fromPort(Integer fromPort)
A starting value for a range of allowed port numbers.
For fleets using Linux builds, only ports
22and1026-60000are valid.For fleets using Windows builds, only ports
1026-60000are valid.- Parameters:
fromPort- A starting value for a range of allowed port numbers.For fleets using Linux builds, only ports
22and1026-60000are valid.For fleets using Windows builds, only ports
1026-60000are valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toPort
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
22and1026-60000are valid.For fleets using Windows builds, only ports
1026-60000are 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
22and1026-60000are valid.For fleets using Windows builds, only ports
1026-60000are valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipRange
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]".- 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
IpPermission.Builder protocol(String 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:
IpProtocol,IpProtocol
-
protocol
IpPermission.Builder protocol(IpProtocol 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:
IpProtocol,IpProtocol
-
-