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 Details

    • fromPort

      IpPermission.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.

      Parameters:
      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.

      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 22 and 1026-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 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.

      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:
    • 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: