Interface ConnectionPortRange.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ConnectionPortRange.Builder,ConnectionPortRange>, SdkBuilder<ConnectionPortRange.Builder,ConnectionPortRange>, SdkPojo
Enclosing class:
ConnectionPortRange

public static interface ConnectionPortRange.Builder extends SdkPojo, CopyableBuilder<ConnectionPortRange.Builder,ConnectionPortRange>
  • Method Details

    • fromPort

      Starting value for the port range.

      Parameters:
      fromPort - Starting value for the port range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toPort

      Ending value for the port. Port numbers are end-inclusive. This value must be equal to or greater than FromPort.

      Parameters:
      toPort - Ending value for the port. Port numbers are end-inclusive. This value must be equal to or greater than FromPort.
      Returns:
      Returns a reference to this object so that method calls can be chained together.